update/delete billing alert

This commit is contained in:
Čarodej
2021-12-18 16:52:11 +01:00
parent 401b511b40
commit e5a2be112b
41 changed files with 573 additions and 325 deletions

View File

@@ -39,6 +39,7 @@
import PageHeader from '/resources/js/components/Others/PageHeader'
import ColorLabel from '/resources/js/components/Others/ColorLabel'
import Spinner from '/resources/js/components/FilesView/Spinner'
import {events} from '/resources/js/bus'
import {mapGetters} from 'vuex'
import axios from 'axios'
@@ -80,13 +81,9 @@
route: 'UserStorage',
},
{
title: this.$t('admin_page_user.tabs.subscription'),
title: this.$t('Billing'),
route: 'UserSubscription',
},
{
title: this.$t('Transactions'),
route: 'UserInvoices',
},
{
title: this.$t('admin_page_user.tabs.password'),
route: 'UserPassword',
@@ -109,6 +106,8 @@
},
created() {
this.fetchUser()
events.$on('reload:user', () => this.fetchUser())
}
}
</script>