- admin registration fixes

- alert popup refactoring
This commit is contained in:
Čarodej
2022-03-17 12:31:09 +01:00
parent e8f59ef0a9
commit 01588fa06b
41 changed files with 288 additions and 300 deletions

View File

@@ -88,6 +88,14 @@ export default {
_method: 'delete',
})
.then(() => {
// If metered subscription, then set isEmptyPlans to true
if (this.$store.getters.config.subscriptionType === 'metered') {
this.$store.commit('REPLACE_CONFIG_VALUE', {
key: 'isEmptyPlans',
value: true,
})
}
events.$emit('toaster', {
type: 'success',
message: this.$t('popup_deleted_plan.title'),