set settingsPreview when updated

This commit is contained in:
Niels Lyngsø
2020-08-07 15:04:24 +02:00
parent d00c07592e
commit 015dc9944a

View File

@@ -100,6 +100,7 @@
};
vm.applySettingsToBlock = function(block, key) {
block.settingsElementTypeKey = key;
vm.settingsPreview = vm.getElementTypeByKey(vm.block.settingsElementTypeKey);
};
vm.requestRemoveSettingsForBlock = function(block) {