NC PropertyAction Delete-All, do not test length if value is nu… (#7242)

This commit is contained in:
Niels Lyngsø
2019-11-28 10:35:07 +01:00
committed by GitHub
parent 771fa3028a
commit 938d5d207d

View File

@@ -565,7 +565,7 @@
function updatePropertyActionStates() {
copyAllEntriesAction.isDisabled = !model.value || model.value.length === 0;
removeAllEntriesAction.isDisabled = model.value.length === 0;
removeAllEntriesAction.isDisabled = !model.value || model.value.length === 0;
}