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

@ -127,6 +127,7 @@ export default {
// Update the namespace in the parent
this.$store.commit('namespaces/setNamespaceById', r)
this.success({message: 'The namespace was successfully updated.'}, this)
this.$router.back()
})
.catch(e => {
this.error(e, this)