Automatically go back after saving from a popup

This commit is contained in:
kolaente 2021-02-20 17:24:40 +01:00
parent 2bf5ffa1a1
commit cf47e196d7
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
4 changed files with 4 additions and 5 deletions

View file

@ -117,6 +117,7 @@ export default {
.then(r => {
this.$store.commit('namespaces/setListInNamespaceById', r)
this.success({message: 'The list was successfully updated.'}, this)
this.$router.back()
})
.catch(e => {
this.error(e, this)