mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
some more fixes from eslint
This commit is contained in:
1 parent
5887913f07
commit
f7e3e2122a
3 files changed
+3
-3
No files matched your search
@@ -35,7 +35,7 @@ router.afterEach( ( to, from ) => {
|
||||
let UserAccountPages = [ 'account' ];
|
||||
|
||||
|
||||
router.beforeEach( ( to, from ) => {
|
||||
router.beforeEach( ( to ) => {
|
||||
let userStore = useUserStore();
|
||||
let isUserAuthenticated = userStore.getUserAuthenticated;
|
||||
let isAdminAuthenticated = userStore.getAdminAuthenticated;
|
||||
|
||||
@@ -130,7 +130,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
logout() {
|
||||
fetch( '/user/logout' ).then( res => {
|
||||
fetch( '/user/logout' ).then( () => {
|
||||
this.$router.push( '/login' );
|
||||
this.userStore.setUserAuth( false );
|
||||
} );
|
||||
|
||||
@@ -48,7 +48,7 @@ export default {
|
||||
}
|
||||
};
|
||||
|
||||
source.onopen = e => {
|
||||
source.onopen = () => {
|
||||
self.$refs.notification.createNotification( 'Connected to status service', 5, 'ok', 'normal' );
|
||||
self.$refs.notification.cancelNotification( startNotification );
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user