Fixed most of the form/show pages
This commit is contained in:
2
client/composables/stores/useContentStore.js
vendored
2
client/composables/stores/useContentStore.js
vendored
@@ -32,7 +32,7 @@ export const useContentStore = (mapKey = 'id') => {
|
||||
})
|
||||
}
|
||||
function remove(item) {
|
||||
content.value.remove(item[mapKey])
|
||||
content.value.delete( typeof item === 'object' ? item[mapKey] : item)
|
||||
}
|
||||
|
||||
function startLoading() {
|
||||
|
||||
Reference in New Issue
Block a user