add inactivity page

This commit is contained in:
Peter Maquiran
2021-08-27 15:21:15 +01:00
50 changed files with 259 additions and 244 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
import { Injectable } from '@angular/core';
import { UserStore } from 'src/app/store/user.service'
import { SessionStore } from '../store/session.service';
@Injectable({
providedIn: 'root'
})
export class PermissionService {
userStore = UserStore
SessionStore = SessionStore
constructor() { }
@@ -16,7 +16,7 @@ export class PermissionService {
args = [args]
}
return args.includes(this.userStore.user.Profile)
return args.includes(this.SessionStore.user.Profile)
}
role(args: any) {