Nuxt Migration notifications (#265)
* Nuxt Migration notifications * @input to @update:model-value * change field type fixes * @update:model-value * Enable form-block-logic-editor * vue-confetti migration * PR request changes * useAlert in setup
This commit is contained in:
6
client/stores/workspaces.js
vendored
6
client/stores/workspaces.js
vendored
@@ -20,6 +20,11 @@ export const useWorkspacesStore = defineStore('workspaces', () => {
|
||||
storedWorkspaceId.value = id
|
||||
}
|
||||
|
||||
const set = (items) => {
|
||||
contentStore.content.value = new Map
|
||||
save(items)
|
||||
}
|
||||
|
||||
const save = (items) => {
|
||||
contentStore.save(items)
|
||||
if ((getCurrent.value == null) && contentStore.length.value) {
|
||||
@@ -39,6 +44,7 @@ export const useWorkspacesStore = defineStore('workspaces', () => {
|
||||
currentId,
|
||||
getCurrent,
|
||||
setCurrentId,
|
||||
set,
|
||||
save,
|
||||
remove
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user