From 51f68602043c3ed4a3f36cbfeb163b6ae04a0f00 Mon Sep 17 00:00:00 2001 From: robertSt7 <104770750+robertSt7@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:32:53 +0100 Subject: [PATCH] Fix: removal-of-set-checkmarks-in-the-forbidden-dashboards-not-possible (#153) --- src/Resources/public/js/pimcore/perspective/perspective.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/public/js/pimcore/perspective/perspective.js b/src/Resources/public/js/pimcore/perspective/perspective.js index 05a3406..4dfb145 100644 --- a/src/Resources/public/js/pimcore/perspective/perspective.js +++ b/src/Resources/public/js/pimcore/perspective/perspective.js @@ -655,7 +655,7 @@ pimcore.bundle.perspectiveeditor.PerspectiveEditor = class { checked: config[data[dataIndex].value] === 1, listeners: { change: function(elem, newValue, oldValue){ - newValue ? config[elem.portletValue] = 1 : delete config[elem.name]; + newValue ? config[elem.portletValue] = 1 : delete config[elem.portletValue]; this.setDirty(true); }.bind(this) }