Skip to content

Commit

Permalink
Fix view model parameters in the stories
Browse files Browse the repository at this point in the history
  • Loading branch information
MytsV committed Aug 9, 2024
1 parent b03eec6 commit 5abacd1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/component-library/Demos/01_0_Login_MultiVO.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export const ABasicLogin: Story = {
multiVOEnabled: false,
voList: [voAtlas, voCMS],
isLoggedIn: false,
accountsAvailable: undefined,
accountActive: undefined,
rucioAuthHost: 'https://rucio.cern.ch',
},
authViewModel: {
Expand All @@ -92,6 +94,8 @@ export const ABasicMultiVOLogin: Story = {
multiVOEnabled: true,
voList: [voAtlas, voCMS, voLHCb],
isLoggedIn: false,
accountsAvailable: undefined,
accountActive: undefined,
rucioAuthHost: 'https://rucio.cern.ch',
},
authViewModel: {
Expand Down
2 changes: 2 additions & 0 deletions src/component-library/Demos/01_1_Login.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export const Playbook_InitLogin: Story = {
multiVOEnabled: true,
voList: [voAtlas, voCMS],
isLoggedIn: false,
accountsAvailable: undefined,
accountActive: undefined,
rucioAuthHost: 'https://rucio.cern.ch',
},
authViewModel: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export const Playbook_Multi_Account: Story = {
oidcProviders: [cernOIDCProvider],
multiVOEnabled: true,
voList: [voAtlas, voCMS],
accountsAvailable: undefined,
accountActive: undefined,
isLoggedIn: false,
rucioAuthHost: 'https://rucio.cern.ch',
},
Expand Down
2 changes: 2 additions & 0 deletions src/component-library/Pages/Login/Login.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ LoginPage.args = {
multiVOEnabled: true,
voList: [voAtlas, voCMS],
isLoggedIn: false,
accountsAvailable: undefined,
accountActive: undefined,
rucioAuthHost: 'https://rucio.cern.ch',
},
authViewModel: {
Expand Down

0 comments on commit 5abacd1

Please sign in to comment.