Alert box issue during filtering

This commit is contained in:
sanjeev 2022-08-10 13:46:39 +05:30
parent 829549e3c9
commit 6c54317445
3 changed files with 7 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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"
}

View File

@ -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) {