Adding Custom domains (#247)

* WIP

* wip

* Finished doing most of the work
This commit is contained in:
Julien Nahum
2023-11-29 14:53:08 +01:00
committed by GitHub
parent 57fdfb25a0
commit b50f579155
33 changed files with 1210 additions and 267 deletions

View File

@@ -61,6 +61,10 @@ export const mutations = {
},
remove (state, itemId) {
state.content = state.content.filter((val) => val.id !== itemId)
if (state.currentId === itemId) {
state.currentId = state.content.length > 0 ? state.content[0].id : null
localStorage.setItem(localStorageCurrentWorkspaceKey, state.currentId)
}
},
startLoading () {
state.loading = true