We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb2188 commit e3891ffCopy full SHA for e3891ff
src/widgets/dashboard/nodes/node-card/node-card.widget.tsx
@@ -169,6 +169,20 @@ export function NodeCardWidget(props: IProps) {
169
</Badge>
170
)}
171
172
+ {(!node.isConnected || node.xrayUptime === '0') && (
173
+ <Badge
174
+ color="red"
175
+ leftSection={<PiCpu size={18} />}
176
+ maw={'20ch'}
177
+ radius="md"
178
+ size="lg"
179
+ style={{ cursor: 'pointer' }}
180
+ variant="outline"
181
+ >
182
+ offline
183
+ </Badge>
184
+ )}
185
+
186
<Badge
187
autoContrast
188
color={'gray'}
0 commit comments