fix password reset link not found bug

This commit is contained in:
Jack Goh
2018-08-09 17:37:01 +08:00
parent 615dff66fc
commit 6fe1fc4257
+3 -2
View File
@@ -104,13 +104,14 @@ export default {
unread_message_length:0,
url: '/api/notification/user',
pagination: [],
}),
computed: mapGetters({
user: 'auth/user'
}),
mounted(){
this.getNotification(this.url);
if(this.user){
this.getNotification(this.url)
}
},
methods: {
async logout(){