UI: Fixed filter preview text at boolean type in alarm rule
This commit is contained in:
parent
3255eb9027
commit
8ef06ed5d6
@ -455,7 +455,9 @@ function simpleKeyFilterPredicateToText(translate: TranslateService,
|
||||
break;
|
||||
case FilterPredicateType.BOOLEAN:
|
||||
operation = translate.instant(booleanOperationTranslationMap.get(keyFilterPredicate.operation));
|
||||
value = translate.instant(keyFilterPredicate.value.defaultValue ? 'value.true' : 'value.false');
|
||||
if (!dynamicValue) {
|
||||
value = translate.instant(keyFilterPredicate.value.defaultValue ? 'value.true' : 'value.false');
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (!dynamicValue) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user