File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -115,18 +115,20 @@ export const NodesHeaderActionButtonsFeature = (props: IProps) => {
115115
116116 return (
117117 < Group grow preventGrowOverflow = { false } wrap = "wrap" >
118- < ActionIconGroup >
119- < Tooltip label = { t ( 'nodes-header-action-buttons.feature.search-nodes' ) } >
120- < ActionIcon
121- color = "gray"
122- onClick = { spotlight . open }
123- size = "input-md"
124- variant = "light"
125- >
126- < TbSearch size = "24px" />
127- </ ActionIcon >
128- </ Tooltip >
129- </ ActionIconGroup >
118+ { viewMode === NodesViewMode . CARDS && (
119+ < ActionIconGroup >
120+ < Tooltip label = { t ( 'nodes-header-action-buttons.feature.search-nodes' ) } >
121+ < ActionIcon
122+ color = "gray"
123+ onClick = { spotlight . open }
124+ size = "input-md"
125+ variant = "light"
126+ >
127+ < TbSearch size = "24px" />
128+ </ ActionIcon >
129+ </ Tooltip >
130+ </ ActionIconGroup >
131+ ) }
130132
131133 < ActionIconGroup >
132134 < Tooltip label = "Toggle view mode" >
@@ -150,7 +152,6 @@ export const NodesHeaderActionButtonsFeature = (props: IProps) => {
150152 </ ActionIcon >
151153 </ Tooltip >
152154 </ ActionIconGroup >
153-
154155 < ActionIconGroup >
155156 < Tooltip
156157 label = { t ( 'nodes-header-action-buttons.feature.restart-all-nodes' ) }
@@ -169,7 +170,6 @@ export const NodesHeaderActionButtonsFeature = (props: IProps) => {
169170 </ ActionIcon >
170171 </ Tooltip >
171172 </ ActionIconGroup >
172-
173173 < ActionIconGroup >
174174 < Tooltip label = { t ( 'common.update' ) } withArrow >
175175 < ActionIcon
@@ -182,7 +182,6 @@ export const NodesHeaderActionButtonsFeature = (props: IProps) => {
182182 </ ActionIcon >
183183 </ Tooltip >
184184 </ ActionIconGroup >
185-
186185 < ActionIconGroup >
187186 < Tooltip label = { t ( 'nodes-header-action-buttons.feature.create-new-node' ) } withArrow >
188187 < ActionIcon color = "teal" onClick = { handleCreate } size = "input-md" variant = "light" >
You can’t perform that action at this time.
0 commit comments