From 0671b955d53119b41e60297656a3f20b76530e59 Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Thu, 25 Jan 2024 19:12:53 -0300 Subject: [PATCH] stores: widget-manager: Include fixed (top-right) mini-widget containers in the current list --- src/stores/widgetManager.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/stores/widgetManager.ts b/src/stores/widgetManager.ts index adca2a0df..c4447f6ed 100644 --- a/src/stores/widgetManager.ts +++ b/src/stores/widgetManager.ts @@ -70,12 +70,13 @@ export const useWidgetManagerStore = defineStore('widget-manager', () => { }) const miniWidgetContainersInCurrentView = computed(() => { - const barContainers = currentView.value.miniWidgetContainers + const fixedBarContainers = currentMiniWidgetsProfile.value.containers + const viewBarContainers = currentView.value.miniWidgetContainers const floatingWidgetContainers = currentView.value.widgets .filter((w) => w.component === WidgetType.MiniWidgetsBar) .filter((w) => w.options && w.options.miniWidgetsContainer) .map((w) => w.options.miniWidgetsContainer) - return [...barContainers, ...floatingWidgetContainers] + return [...fixedBarContainers, ...viewBarContainers, ...floatingWidgetContainers] }) /**