Skip to content

Commit d77109d

Browse files
#RI-4244 - fix workbench icon issue
1 parent 8f78558 commit d77109d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

redisinsight/ui/src/components/query-card/QueryCardHeader/QueryCardHeader.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,12 @@ const QueryCardHeader = (props: Props) => {
346346
</EuiToolTip>
347347
)}
348348
</EuiFlexItem>
349-
<EuiFlexItem
350-
grow={false}
351-
className={cx(styles.buttonIcon, styles.viewTypeIcon)}
352-
onClick={onDropDownViewClick}
353-
>
354-
{isOpen && canCommandProfile && !summaryText && (
349+
{isOpen && canCommandProfile && !summaryText && (
350+
<EuiFlexItem
351+
grow={false}
352+
className={cx(styles.buttonIcon, styles.viewTypeIcon)}
353+
onClick={onDropDownViewClick}
354+
>
355355
<div className={styles.dropdownWrapper}>
356356
<div className={styles.dropdown}>
357357
<EuiSuperSelect
@@ -364,8 +364,8 @@ const QueryCardHeader = (props: Props) => {
364364
/>
365365
</div>
366366
</div>
367-
)}
368-
</EuiFlexItem>
367+
</EuiFlexItem>
368+
)}
369369
<EuiFlexItem
370370
grow={false}
371371
className={cx(styles.buttonIcon, styles.viewTypeIcon)}

0 commit comments

Comments
 (0)