diff --git a/frontend/src/components/AuthCallbackHandler.vue b/frontend/src/components/AuthCallbackHandler.vue index 60152bbb1..9528f82eb 100644 --- a/frontend/src/components/AuthCallbackHandler.vue +++ b/frontend/src/components/AuthCallbackHandler.vue @@ -6,7 +6,7 @@ import authService from '@/services/AuthService'; * This component is to deal with Auth callback. */ -authService.methods.handlePostLogin().then((data) => { +authService.handlePostLogin().then((data) => { router.push('/dashboard'); }); diff --git a/frontend/src/components/Landing.vue b/frontend/src/components/Landing.vue index c867fd67e..8d914a78d 100644 --- a/frontend/src/components/Landing.vue +++ b/frontend/src/components/Landing.vue @@ -1,7 +1,7 @@ @@ -23,7 +23,7 @@ import TreeLogs from '@/assets/images/tree-logs.jpg'; class="landing-button" label="Login with IDIR" id="login-idir-button" - @click="authService.methods.login()" + @click="AuthService.login()" > @@ -33,7 +33,7 @@ import TreeLogs from '@/assets/images/tree-logs.jpg'; label="Login with BCeID" id="login-bceid-button" disabled - @click="authService.methods.login()" + @click="AuthService.login()" > diff --git a/frontend/src/components/common/ProfileSidebar.vue b/frontend/src/components/common/ProfileSidebar.vue index 7d57186a7..8bfdc1b94 100644 --- a/frontend/src/components/common/ProfileSidebar.vue +++ b/frontend/src/components/common/ProfileSidebar.vue @@ -1,28 +1,38 @@ @@ -44,7 +54,7 @@ const buttonLabel = computed(() => { { {{ displayName }} IDIR: {{ userName }} {{ email }} + Granted: {{ adminRoles }} @@ -132,7 +143,8 @@ const buttonLabel = computed(() => { } .profile-name, - .profile-idir { + .profile-idir, + .profile-email { margin-bottom: 0.375rem; } } @@ -167,6 +179,7 @@ const buttonLabel = computed(() => { .profile-idir, .profile-email, +.profile-admin-level, .options { font-size: 0.75rem; font-weight: 400; diff --git a/frontend/src/components/grantaccess/GrantApplicationAdmin.vue b/frontend/src/components/grantaccess/GrantApplicationAdmin.vue index 97f135201..8f8017d3c 100644 --- a/frontend/src/components/grantaccess/GrantApplicationAdmin.vue +++ b/frontend/src/components/grantaccess/GrantApplicationAdmin.vue @@ -1,19 +1,18 @@
{{ displayName }}
IDIR: {{ userName }}
{{ email }}
Granted: {{ adminRoles }}