1
0

Add option to remove a list background

This commit is contained in:
kolaente
2021-03-21 18:11:24 +01:00
parent da9d511f87
commit 1686663a3f
3 changed files with 44 additions and 9 deletions

View File

@ -103,6 +103,10 @@ export const store = new Vuex.Store({
}
}
if (typeof currentList.backgroundInformation === 'undefined' || currentList.backgroundInformation === null) {
state.background = null
}
// Server updates don't return the right. Therefore the right is reset after updating the list which is
// confusing because all the buttons will disappear in that case. To prevent this, we're keeping the right
// when updating the list in global state.