diff --git a/packages/nc-gui/composables/useMapViewDataStore.ts b/packages/nc-gui/composables/useMapViewDataStore.ts index acb980bbe1..be96b7c243 100644 --- a/packages/nc-gui/composables/useMapViewDataStore.ts +++ b/packages/nc-gui/composables/useMapViewDataStore.ts @@ -93,10 +93,7 @@ const [useProvideMapViewStore, useMapViewStore] = useInjectionState( async function updateMapMeta(updateObj: Partial) { if (!viewMeta?.value?.id || !isUIAllowed('xcDatatableEditable')) return - await $api.dbView.mapUpdate(viewMeta.value.id, { - ...mapMetaData.value, - ...updateObj, - }) + await $api.dbView.mapUpdate(viewMeta.value.id, updateObj) } const { getMeta } = useMetas()