File tree Expand file tree Collapse file tree 2 files changed +1
-26
lines changed
Expand file tree Collapse file tree 2 files changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { AppSelectionDropdownProps } from '../types/dropdown';
77import kernLogo from '../assets/kern-icon.png' ;
88import refineryLogo from '../assets/refinery-icon.png' ;
99import gatesLogo from '../assets/gates-icon.png' ;
10- import workflowLogo from '../assets/workflow-icon.png' ;
1110
1211export default function PlatformWelcomeDropdown ( props : AppSelectionDropdownProps ) {
1312 return (
@@ -16,7 +15,7 @@ export default function PlatformWelcomeDropdown(props: AppSelectionDropdownProps
1615 < Menu . Button >
1716 < Tooltip color = "invert" content = "Kern AI" placement = "right" >
1817 < div
19- className = { `cursor-pointer group flex items-center p-2 text-sm font-medium rounded-md border ${ props . workflow ? ' border-gray-800 hover:bg-gray-700' : 'border-gray-200 hover:bg-gray-50' } ` }
18+ className = { `cursor-pointer group flex items-center p-2 text-sm font-medium rounded-md border border-gray-800 hover:bg-gray-700` }
2019 >
2120 < Image src = { kernLogo } width = "32" height = "32" alt = 'Kern' />
2221 </ div >
@@ -89,29 +88,6 @@ export default function PlatformWelcomeDropdown(props: AppSelectionDropdownProps
8988 ) }
9089 </ Menu . Item >
9190 ) : null }
92-
93- { props . workflow ? (
94- < Menu . Item >
95- { ( { active } ) => (
96- < a
97- href = "/workflow/workflows"
98- rel = "noopener noreferrer"
99- className = { combineClassNames (
100- active ? 'bg-gray-100 text-gray-900' : 'text-gray-700' ,
101- 'group flex items-center px-4 py-2 text-sm cursor-pointer font-mono'
102- ) }
103- >
104- < Image
105- src = { workflowLogo }
106- width = { 21 }
107- height = { 21 }
108- alt = "workflow"
109- />
110- < span className = 'ml-2' > workflow</ span >
111- </ a >
112- ) }
113- </ Menu . Item >
114- ) : null }
11591 </ div >
11692 </ Menu . Items >
11793 </ Transition >
Original file line number Diff line number Diff line change @@ -89,5 +89,4 @@ export type AppSelectionDropdownProps = {
8989 cockpit ?: boolean ;
9090 refinery ?: boolean ;
9191 gates ?: boolean ;
92- workflow ?: boolean ;
9392} ;
You can’t perform that action at this time.
0 commit comments