Skip to content

Commit

Permalink
consent fix for levant3e
Browse files Browse the repository at this point in the history
  • Loading branch information
Zio-4 committed Oct 25, 2024
1 parent 6e42cb7 commit 98b95e8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/ConsentModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { marked } from 'marked';
import DOMPurify from 'dompurify';
import _lowerCase from 'lodash/lowerCase';
import { TOAST_SEVERITIES, TOAST_DEFAULT_LIFE_DURATION } from '@/constants/toasts';
import { useRouter } from 'vue-router';
const i18n = useI18n();
const router = useRouter();
Expand Down
1 change: 1 addition & 0 deletions src/pages/HomeAdministrator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ import useUserType from '@/composables/useUserType';
import useUserClaimsQuery from '@/composables/queries/useUserClaimsQuery';
import useAdministrationsListQuery from '@/composables/queries/useAdministrationsListQuery';
import CardAdministration from '@/components/CardAdministration.vue';
import { isLevante } from '@/helpers';
const initialized = ref(false);
const pageLimit = ref(10);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HomeParticipant.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
:options="sortedUserAdministrations ?? []"
:option-label="
userAssignments.every((administration) => administration.publicName) ? 'publicName' : 'name'
"
"
input-id="dd-assignment"
data-cy="dropdown-select-administration"
@change="toggleShowOptionalAssessments"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HomeSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ import useUserClaimsQuery from '@/composables/queries/useUserClaimsQuery';
import useUpdateConsentMutation from '@/composables/mutations/useUpdateConsentMutation';
import { CONSENT_TYPES } from '@/constants/consentTypes';
import { APP_ROUTES } from '@/constants/routes';
import { isLevante } from '@/helpers';
const HomeParticipant = defineAsyncComponent(() => import('@/pages/HomeParticipant.vue'));
const HomeAdministrator = defineAsyncComponent(() => import('@/pages/HomeAdministrator.vue'));
const ConsentModal = defineAsyncComponent(() => import('@/components/ConsentModal.vue'));
const isLevante = import.meta.env.MODE === 'LEVANTE';
const authStore = useAuthStore();
const { roarfirekit, ssoProvider } = storeToRefs(authStore);
Expand Down
2 changes: 0 additions & 2 deletions src/router/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router';
import { useAuthStore } from '@/store/auth';
import { useGameStore } from '@/store/game';
import { useSurveyStore } from '@/store/survey';
import _get from 'lodash/get';
import { pageTitlesEN, pageTitlesUS, pageTitlesES, pageTitlesCO } from '@/translations/exports';
import { isLevante } from '@/helpers';
Expand Down

0 comments on commit 98b95e8

Please sign in to comment.