Skip to content

Commit

Permalink
fix(OptionsWebDAV): re-init file when bookmark_file option is changed
Browse files Browse the repository at this point in the history
see #1797

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 15, 2024
1 parent da987b2 commit 3655f2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ui/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ export const actionsDefinition = {
if (oldData.localRoot !== data.localRoot) {
await account.init()
}
if (oldData.bookmark_file !== data.bookmark_file) {
await account.init()
}
if (oldData.bookmark_file_type !== data.bookmark_file_type) {
await account.init()
}
commit(mutations.STORE_ACCOUNT_DATA, {id, data})
},
async [actions.TRIGGER_SYNC]({ commit, dispatch, state }, accountId) {
Expand Down

0 comments on commit 3655f2c

Please sign in to comment.