Fix list not added to lists when duplicating
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-11-12 20:02:40 +01:00
parent 3677ffd585
commit 50b1d378e0
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ export default {
this.listDuplicateService.create(listDuplicate)
.then(r => {
this.$store.commit('namespaces/addListToNamespace', r.list)
this.$store.commit('lists/addList', r.list)
this.success({message: 'The list was successfully duplicated.'}, this)
router.push({name: 'list.index', params: {listId: r.list.id}})
})