1
0

feat: don't rethrow same error and handle errors globally

This commit is contained in:
Dominik Pschenitschni
2021-10-09 16:04:19 +02:00
parent 6f51921588
commit 3b940cb56c
71 changed files with 69 additions and 451 deletions

View File

@ -100,7 +100,6 @@ export default {
this.$store.dispatch('namespaces/loadNamespaces')
this.$router.push({name: 'list.index', params: {listId: r.getListId()}})
})
.catch(e => this.$message.error(e))
},
},
}

View File

@ -35,7 +35,6 @@ export default {
this.$message.success({message: this.$t('filters.delete.success')})
this.$router.push({name: 'namespaces.index'})
})
.catch(e => this.$message.error(e))
},
},
}

View File

@ -105,7 +105,6 @@ export default {
this.filter = r
this.filters = objectToSnakeCase(this.filter.filters)
})
.catch(e => this.$message.error(e))
},
save() {
this.filter.filters = this.filters
@ -117,7 +116,6 @@ export default {
this.filters = objectToSnakeCase(this.filter.filters)
this.$router.back()
})
.catch(e => this.$message.error(e))
},
},
}