- Added status column to the fixed plan table

- Ability to delete fixed plan if there isn't any subscribed user
- Improved error handling in subscription module
This commit is contained in:
Čarodej
2022-04-02 17:52:48 +02:00
parent 086dab99cd
commit be37f95404
22 changed files with 220 additions and 169 deletions
@@ -141,6 +141,16 @@ export default {
.then((response) => {
window.location = response.data.url
})
.catch((error) => {
if (error.response.status === 500 && error.response.data.type) {
events.$emit('alert:open', {
title: error.response.data.title,
message: error.response.data.message,
})
} else {
this.$isSomethingWrong()
}
})
}
// Change active subscription