Skip to content

Commit

Permalink
Use config
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas ONeil <[email protected]>
  • Loading branch information
loneil committed Dec 3, 2024
1 parent 693d1b4 commit 1e95416
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy/traction/values-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ui:
authority: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz
jwksUri: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz/protocol/openid-connect/certs
extraQueryParams: '{"kc_idp_hint":"idir"}'
label: "IDIR"
reservationForm: >-
{
"formDataSchema": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<Button
class="w-full mt-5"
label="IDIR"
:label="config.frontend.oidc.label"
:loading="loading"
@click="oidcLogin"
/>
Expand All @@ -13,11 +13,14 @@
// State
import { useInnkeeperOidcStore } from '@/store';
import { storeToRefs } from 'pinia';
import { useConfigStore } from '../../store';
// PrimeVue/etc
import Button from 'primevue/button';
import { useToast } from 'vue-toastification';
const toast = useToast();
const { config } = storeToRefs(useConfigStore());
const innkeeperOidcStore = useInnkeeperOidcStore();
const { loading, error } = storeToRefs(useInnkeeperOidcStore());
Expand Down

0 comments on commit 1e95416

Please sign in to comment.