1
0

fix: vuex mutation violation from draggable (#674)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/674
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen
2021-08-23 19:24:52 +00:00
committed by konrad
parent 2adeb97074
commit 0a8505f53c
5 changed files with 81 additions and 37 deletions

View File

@ -39,6 +39,11 @@ export default class ListService extends AbstractService {
return list
}
update(model) {
const newModel = { ... model }
return super.update(newModel)
}
background(list) {
if (list.background === null) {
return Promise.resolve('')