|
|
|
@ -93,10 +93,7 @@ const [useProvideMapViewStore, useMapViewStore] = useInjectionState(
|
|
|
|
|
|
|
|
|
|
async function updateMapMeta(updateObj: Partial<MapType>) { |
|
|
|
|
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() |
|
|
|
|