Alert box issue during filtering
This commit is contained in:
parent
829549e3c9
commit
6c54317445
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/ui.js": "/js/ui.js?id=934e73015300b1ae35f5",
|
||||
"/js/ui.js": "/js/ui.js?id=80c2b03f1a88cf3ed806",
|
||||
"/css/ui.css": "/css/ui.css?id=933372010d246f94f931"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -540,6 +540,11 @@ export default {
|
|||
case 'number': {
|
||||
let indexConditions = true;
|
||||
|
||||
if (! this.types.number.value) {
|
||||
alert(this.translations.emptyValue);
|
||||
this.switchSelectCondition('number');
|
||||
}
|
||||
|
||||
if (
|
||||
this.filterIndex === this.columnOrAlias &&
|
||||
(this.types.number.value === 0 ||
|
||||
|
|
@ -548,8 +553,6 @@ export default {
|
|||
indexConditions = false;
|
||||
|
||||
alert(this.translations.zeroIndex);
|
||||
} else {
|
||||
alert(this.translations.emptyValue);
|
||||
}
|
||||
|
||||
if (indexConditions) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue