From 92e7a884fd7c6b2413905f2efedc7e056bf01975 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 16 Nov 2023 12:24:23 +0000 Subject: [PATCH] fix: load lookup columns if new lookup column added --- .../nc-gui/components/smartsheet/toolbar/GroupByMenu.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue index 1b62c363bc..cd9ae83511 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue @@ -15,6 +15,7 @@ import { useNuxtApp, useSmartsheetStoreOrThrow, useViewColumnsOrThrow, + watch, } from '#imports' const groupingUidt = [ @@ -207,6 +208,10 @@ const loadBtLookups = async () => { onMounted(async () => { await loadBtLookups() }) + +watch(meta, async () => { + await loadBtLookups() +})