Skip to content

Commit 0246f0f

Browse files
Ruben van LeeuwenDutchBen
authored andcommitted
Updates components lib version to 1.38.2. Adds support menu env variables
1 parent 38804dc commit 0246f0f

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ USE_WEB_SOCKETS=false
88
USE_THEME_TOGGLE=false
99
SHOW_WORKFLOW_INFORMATION_LINK=true
1010
WORKFLOW_INFORMATION_LINK_URL="https://workfloworchestrator.org/"
11+
ENABLE_SUPPORT_MENU_ITEM=true
12+
SUPPORT_MENU_ITEM_URL="https://workfloworchestrator.org/orchestrator-core/reference-docs/tldr/"
1113

1214
# Auth variables
1315
OAUTH2_ACTIVE=true

configuration/configuration.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
1717
WORKFLOW_INFORMATION_LINK_URL,
1818
SHOW_WORKFLOW_INFORMATION_LINK,
1919
OAUTH2_ACTIVE,
20+
ENABLE_SUPPORT_MENU_ITEM,
21+
SUPPORT_MENU_ITEM_URL,
2022
} = getEnvironmentVariables([
2123
'USE_THEME_TOGGLE',
2224
'ENVIRONMENT_NAME',
@@ -29,6 +31,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
2931
'WORKFLOW_INFORMATION_LINK_URL',
3032
'SHOW_WORKFLOW_INFORMATION_LINK',
3133
'OAUTH2_ACTIVE',
34+
'ENABLE_SUPPORT_MENU_ITEM',
35+
'SUPPORT_MENU_ITEM_URL',
3236
]);
3337

3438
const graphqlEndpointCore = `${ORCHESTRATOR_GRAPHQL_HOST}${ORCHESTRATOR_GRAPHQL_PATH}`;
@@ -45,5 +49,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
4549
workflowInformationLinkUrl: WORKFLOW_INFORMATION_LINK_URL,
4650
showWorkflowInformationLink:
4751
SHOW_WORKFLOW_INFORMATION_LINK?.toLowerCase() === 'true',
52+
enableSupportMenuItem:
53+
ENABLE_SUPPORT_MENU_ITEM?.toLowerCase() === 'true',
54+
supportMenuItemUrl: SUPPORT_MENU_ITEM_URL,
4855
};
4956
};

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)