fix: address PR review findings
- Remove ternary operators from new code (widget-integration-select, TabsContainer, mock data, members page) - Remove stale /docs/management/tools/backup from sitemap type - Add value prop to error-state Select in beszel-system-stats
This commit is contained in:
6 files changed
+16
-13
No files matched your search
@@ -375,7 +375,7 @@ export class BeszelMockService {
|
||||
name: names[i % names.length] ?? "CPU",
|
||||
val: rand(60, 95),
|
||||
created: new Date(now - (i + 1) * 3_600_000).toISOString(),
|
||||
resolved: i % 2 === 0 ? new Date(now - i * 1_800_000).toISOString() : null,
|
||||
resolved: i % 2 === 0 && new Date(now - i * 1_800_000).toISOString() || null,
|
||||
}));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user