Add notifications
This commit is contained in:
@@ -48,6 +48,12 @@ export default {
|
||||
tab: 0,
|
||||
tabs: ['Login', 'Register'],
|
||||
}),
|
||||
mounted() {
|
||||
this.$root.$on('register::success', () => {
|
||||
this.$root.$emit('toast', 'Welcome', 'success')
|
||||
this.tab = 0
|
||||
})
|
||||
},
|
||||
head: () => ({
|
||||
title: 'Account',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user