Skip to content

Commit fe50e11

Browse files
fix(UptimeViewer): do not show popup if no content
1 parent e72c698 commit fe50e11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/UptimeViewer/UptimeViewer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export function NodeUptime({StartTime, DisconnectTime}: NodeUptimeProps) {
4444
return (
4545
<CellWithPopover
4646
placement={['top', 'auto']}
47+
disabled={!content}
4748
content={<DefinitionList responsive>{content}</DefinitionList>}
4849
>
4950
{uptime}

0 commit comments

Comments
 (0)