fix: namespace collision of global error method with draggable error method

This commit is contained in:
Dominik Pschenitschni 2021-08-25 12:28:29 +02:00 committed by kolaente
parent 0da7a46612
commit ebeca48be4
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
57 changed files with 229 additions and 209 deletions

View file

@ -48,11 +48,11 @@ export default {
.then(r => {
this.$store.commit('namespaces/addListToNamespace', r.list)
this.$store.commit('lists/setList', r.list)
this.success({message: this.$t('list.duplicate.success')})
this.$message.success({message: this.$t('list.duplicate.success')})
this.$router.push({name: 'list.index', params: {listId: r.list.id}})
})
.catch(e => {
this.error(e)
this.$message.error(e)
})
},
},