infra migration
This commit is contained in:
1 parent
6f9fefddd2
commit
fcd9e78367
8 files changed
+16
-37
No files matched your search
@@ -92,9 +92,7 @@ const CreateInfrastructureMonitor = () => {
|
||||
initializeInfrastructureMonitorForUpdate(monitor);
|
||||
const fetchLastCheck = async () => {
|
||||
try {
|
||||
const { stats } = monitor ?? {};
|
||||
let latestCheck = stats?.aggregateData?.latestCheck;
|
||||
let disks = latestCheck?.disk || [];
|
||||
let disks = monitor?.recentChecks?.[0]?.disk || [];
|
||||
|
||||
if (disks.length > 0) {
|
||||
setAvailableDisks(disks);
|
||||
|
||||
Reference in new issue
Block a user