From 55c0b8e51dc86b0f258a4a0cfbee0cd5efa362b1 Mon Sep 17 00:00:00 2001 From: Lina Date: Tue, 26 Mar 2024 10:19:10 +0100 Subject: [PATCH 1/2] Removed workflow from app dropdwon selection --- components/AppSelectionDropdown.tsx | 26 +------------------------- types/dropdown.ts | 1 - 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/components/AppSelectionDropdown.tsx b/components/AppSelectionDropdown.tsx index 50cfc2c..32a9fff 100644 --- a/components/AppSelectionDropdown.tsx +++ b/components/AppSelectionDropdown.tsx @@ -7,7 +7,6 @@ import { AppSelectionDropdownProps } from '../types/dropdown'; import kernLogo from '../assets/kern-icon.png'; import refineryLogo from '../assets/refinery-icon.png'; import gatesLogo from '../assets/gates-icon.png'; -import workflowLogo from '../assets/workflow-icon.png'; export default function PlatformWelcomeDropdown(props: AppSelectionDropdownProps) { return ( @@ -16,7 +15,7 @@ export default function PlatformWelcomeDropdown(props: AppSelectionDropdownProps
Kern
@@ -89,29 +88,6 @@ export default function PlatformWelcomeDropdown(props: AppSelectionDropdownProps )} ) : null} - - {props.workflow ? ( - - {({ active }) => ( - - workflow - workflow - - )} - - ) : null} diff --git a/types/dropdown.ts b/types/dropdown.ts index 311914c..0490083 100644 --- a/types/dropdown.ts +++ b/types/dropdown.ts @@ -89,5 +89,4 @@ export type AppSelectionDropdownProps = { cockpit?: boolean; refinery?: boolean; gates?: boolean; - workflow?: boolean; }; \ No newline at end of file From 801ccd94d48549c2446c3081757058257a4da10c Mon Sep 17 00:00:00 2001 From: Lina Date: Tue, 26 Mar 2024 10:45:52 +0100 Subject: [PATCH 2/2] Classes for dropdown --- components/AppSelectionDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/AppSelectionDropdown.tsx b/components/AppSelectionDropdown.tsx index 32a9fff..04544f5 100644 --- a/components/AppSelectionDropdown.tsx +++ b/components/AppSelectionDropdown.tsx @@ -15,7 +15,7 @@ export default function PlatformWelcomeDropdown(props: AppSelectionDropdownProps
Kern