fix: add retry and show warning on description saving error (#7070)

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2025-07-03 11:47:28 +02:00
committed by GitHub
parent 7799854df4
commit 62a9ce3131
3 changed files with 36 additions and 6 deletions

View File

@@ -50,6 +50,7 @@ export default new Vuex.Store({
sidebarShown: false,
currentBoard: null,
currentCard: null,
hasCardSaveError: false,
boards: loadState('deck', 'initialBoards', []),
sharees: [],
assignableUsers: [],
@@ -131,6 +132,9 @@ export default new Vuex.Store({
setFullApp(state, isFullApp) {
Vue.set(state, 'isFullApp', isFullApp)
},
setHasCardSaveError(state, hasCardSaveError) {
Vue.set(state, 'hasCardSaveError', hasCardSaveError)
},
SET_CONFIG(state, { key, value }) {
const [scope, id, configKey] = key.split(':', 3)
let indexExisting = -1