Skip to content

Commit e120cf7

Browse files
Ruben van LeeuwenDutchBen
authored andcommitted
2163: Adds pydantic form toggle
1 parent 9212060 commit e120cf7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configuration/configuration.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
2121
SUPPORT_MENU_ITEM_URL,
2222
ENABLE_AO_STACK_STATUS,
2323
AO_STACK_STATUS_URL,
24+
ACTIVATE_PYDANTIC_FORMS,
2425
} = getEnvironmentVariables([
2526
'USE_THEME_TOGGLE',
2627
'ENVIRONMENT_NAME',
@@ -37,6 +38,7 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
3738
'SUPPORT_MENU_ITEM_URL',
3839
'ENABLE_AO_STACK_STATUS',
3940
'AO_STACK_STATUS_URL',
41+
'ACTIVATE_PYDANTIC_FORMS',
4042
]);
4143

4244
const graphqlEndpointCore = `${ORCHESTRATOR_GRAPHQL_HOST}${ORCHESTRATOR_GRAPHQL_PATH}`;
@@ -58,5 +60,7 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
5860
supportMenuItemUrl: SUPPORT_MENU_ITEM_URL,
5961
enableAoStackStatus: ENABLE_AO_STACK_STATUS?.toLowerCase() === 'true',
6062
aoStackStatusUrl: AO_STACK_STATUS_URL,
63+
activatePydanticForms:
64+
ACTIVATE_PYDANTIC_FORMS?.toLowerCase() === 'true',
6165
};
6266
};

0 commit comments

Comments
 (0)