fix(angular): handle parens in ng expression correctly (#5387)

This commit is contained in:
Ika authored and GitHub committed 2018-11-09 00:06:16 +08:00
1 parent fd8ec95e0a
commit 7f472d72ae
4 files changed
+53 -4

No files matched your search

@@ -78,4 +78,8 @@
[target]="{ longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong: true }"
[error]="'We couldn\\\'t find anything with that name.'"
*ngIf="form.controls.details?.controls.amount?.errors.min"
[ngClass]="
{'btn-success': (dialog$ | async).level === dialogLevelEnum.SUCCESS,
'btn-warning': (dialog$ | async).level === dialogLevelEnum.WARNING,
'btn-svg': (dialog$ | async).level === dialogLevelEnum.DANGER}"
></div>