Browse Source

fix(nc-gui): apply stringifyProp to project.ts

pull/5307/head
Wing-Kam Wong 2 years ago
parent
commit
5e71b21712
  1. 2
      packages/nc-gui/store/project.ts

2
packages/nc-gui/store/project.ts

@ -150,7 +150,7 @@ export const useProject = defineStore('projectStore', () => {
if (data.meta && typeof data.meta === 'string') {
await api.project.update(projectId.value, data)
} else {
await api.project.update(projectId.value, { ...data, meta: JSON.stringify(data.meta) })
await api.project.update(projectId.value, { ...data, meta: stringifyProp(data.meta) })
}
}

Loading…
Cancel
Save