Skip to content

Commit 99f5f92

Browse files
committed
fix pr comments
1 parent 2d01f11 commit 99f5f92

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

redisinsight/ui/src/components/database-overview/DatabaseOverview.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const DatabaseOverview = (props: Props) => {
175175
{ [styles.noModules]: !modules.visible?.length, [styles.RediStack]: isRediStack }
176176
)}
177177
>
178-
{isRediStack ? (
178+
{isRediStack && (
179179
<DatabaseListModules
180180
content={isRediStack ? RediStackLogo : undefined}
181181
modules={modulesProps}
@@ -191,7 +191,10 @@ const DatabaseOverview = (props: Props) => {
191191
) : undefined}
192192
withoutStyles
193193
/>
194-
) : !!modules.visible?.length && (<DatabaseListModules dark inCircle modules={modules.visible} />)}
194+
)}
195+
{(!isRediStack && !!modules.visible?.length) && (
196+
<DatabaseListModules dark inCircle modules={modules.visible} />
197+
)}
195198
<MoreInfoPopover
196199
metrics={metrics.hidden}
197200
modules={modules.hidden}

redisinsight/ui/src/pages/home/components/DatabaseAlias/DatabaseAlias.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ const DatabaseAlias = (props: Props) => {
152152
</EuiFlexItem>
153153
</EuiFlexGrid>
154154
) : (
155-
<EuiText
156-
className={styles.alias}
157-
>
155+
<EuiText className={styles.alias}>
158156
<b className={styles.aliasText}>
159157
<span>{alias}</span>
160158
</b>

0 commit comments

Comments
 (0)