Skip to content

Commit 0b917a7

Browse files
MytsVmaany
authored andcommitted
Fix view model parameters in the stories
1 parent aa5e5c0 commit 0b917a7

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

src/component-library/Demos/01_0_Login_MultiVO.stories.ts

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export const ABasicLogin: Story = {
6666
multiVOEnabled: false,
6767
voList: [voAtlas, voCMS],
6868
isLoggedIn: false,
69+
accountsAvailable: undefined,
70+
accountActive: undefined,
6971
rucioAuthHost: 'https://rucio.cern.ch',
7072
},
7173
authViewModel: {
@@ -92,6 +94,8 @@ export const ABasicMultiVOLogin: Story = {
9294
multiVOEnabled: true,
9395
voList: [voAtlas, voCMS, voLHCb],
9496
isLoggedIn: false,
97+
accountsAvailable: undefined,
98+
accountActive: undefined,
9599
rucioAuthHost: 'https://rucio.cern.ch',
96100
},
97101
authViewModel: {

src/component-library/Demos/01_1_Login.stories.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ export const Playbook_InitLogin: Story = {
5858
multiVOEnabled: true,
5959
voList: [voAtlas, voCMS],
6060
isLoggedIn: false,
61+
accountsAvailable: undefined,
62+
accountActive: undefined,
6163
rucioAuthHost: 'https://rucio.cern.ch',
6264
},
6365
authViewModel: {

src/component-library/Demos/01_2_Login_multi_account.stories.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ export const Playbook_Multi_Account: Story = {
5757
oidcProviders: [cernOIDCProvider],
5858
multiVOEnabled: true,
5959
voList: [voAtlas, voCMS],
60+
accountsAvailable: undefined,
61+
accountActive: undefined,
6062
isLoggedIn: false,
6163
rucioAuthHost: 'https://rucio.cern.ch',
6264
},

src/component-library/Pages/Login/Login.stories.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ LoginPage.args = {
5757
multiVOEnabled: true,
5858
voList: [voAtlas, voCMS],
5959
isLoggedIn: false,
60+
accountsAvailable: undefined,
61+
accountActive: undefined,
6062
rucioAuthHost: 'https://rucio.cern.ch',
6163
},
6264
authViewModel: {

0 commit comments

Comments
 (0)