From c29524b19c97b77d3b5f0494a2f58be27abe7303 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 3 Nov 2023 18:30:59 +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 3febd97e8e..74cd89cbc8 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() +})