From fc15340d346c5a9dc03c971752650712c5f97a6d Mon Sep 17 00:00:00 2001 From: qaiswardag Date: Mon, 2 Sep 2024 12:45:12 +0200 Subject: [PATCH] Set Component to null when slider menu --- .../PageBuilder/DropdownsPlusToggles/OptionsDropdown.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/PageBuilder/DropdownsPlusToggles/OptionsDropdown.vue b/src/Components/PageBuilder/DropdownsPlusToggles/OptionsDropdown.vue index cb824b3..4a3d1c2 100644 --- a/src/Components/PageBuilder/DropdownsPlusToggles/OptionsDropdown.vue +++ b/src/Components/PageBuilder/DropdownsPlusToggles/OptionsDropdown.vue @@ -72,14 +72,14 @@ const deleteAllComponents = function () { // handle slideover window const handleSettingsSlideOver = function () { - pageBuilderStateStore.setComponents(null); + pageBuilderStateStore.setComponent(null); titleSettingsSlideOverRight.value = 'Settings'; showSettingsSlideOverRight.value = true; }; // handle slideover window const settingsSlideOverButton = function () { - pageBuilderStateStore.setComponents(null); + pageBuilderStateStore.setComponent(null); showSettingsSlideOverRight.value = false; };