From ceabbf3f6e66e902924a6b7444b0e8218c0b0e97 Mon Sep 17 00:00:00 2001 From: flisowna Date: Mon, 19 Dec 2022 21:41:35 +0300 Subject: [PATCH] geodata easter egg: debugging weird template reactivity issue for the bottom menu - works now --- .../smartsheet/sidebar/MenuBottom.vue | 237 +++++++++--------- .../nc-gui/composables/useMapViewDataStore.ts | 2 +- 2 files changed, 117 insertions(+), 122 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/sidebar/MenuBottom.vue b/packages/nc-gui/components/smartsheet/sidebar/MenuBottom.vue index 97c8dd8b78..2c111b3137 100644 --- a/packages/nc-gui/components/smartsheet/sidebar/MenuBottom.vue +++ b/packages/nc-gui/components/smartsheet/sidebar/MenuBottom.vue @@ -25,127 +25,122 @@ function onOpenModal(type: ViewTypes, title = '') { diff --git a/packages/nc-gui/composables/useMapViewDataStore.ts b/packages/nc-gui/composables/useMapViewDataStore.ts index 167f859b1e..33db9ba331 100644 --- a/packages/nc-gui/composables/useMapViewDataStore.ts +++ b/packages/nc-gui/composables/useMapViewDataStore.ts @@ -4,7 +4,7 @@ import type { ColumnType, MapType, TableType, ViewType } from 'nocodb-sdk' import { ref, useInjectionState, useMetas } from '#imports' import type { Row } from '~/lib' -export const geodataToggleState = reactive({ show: false }) +export const geodataToggleState = reactive({ show: true }) const formatData = (list: Row[]) => list.map((row) => ({