Migrate to nuxt settings page AND remove axios (#266)
* Settings pages migration * remove axios and use opnFetch * Make created form reactive (#267) * Remove verify pages and axios lib --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
2
client/stores/workspaces.js
vendored
2
client/stores/workspaces.js
vendored
@@ -35,7 +35,7 @@ export const useWorkspacesStore = defineStore('workspaces', () => {
|
||||
const remove = (itemId) => {
|
||||
contentStore.remove(itemId)
|
||||
if (currentId.value === itemId) {
|
||||
setCurrentId(contentStore.length.value > 0 ? contentStore.getAll[0].id : null)
|
||||
setCurrentId(contentStore.length.value > 0 ? contentStore.getAll.value[0].id : null)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user