some more fixes from eslint

This commit is contained in:
2023-10-01 15:46:52 +02:00
parent 5887913f07
commit f7e3e2122a
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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 );
} );

View File

@@ -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 );
};