remove pagespeed from snapshot array, full check list required
This commit is contained in:
1 parent
6447c315ce
commit
11dcccc085
1 file changed
+1
-1
@@ -388,7 +388,7 @@ export class MonitorService implements IMonitorService {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const monitorsList = (monitors ?? []) as Monitor[];
|
const monitorsList = (monitors ?? []) as Monitor[];
|
||||||
const snapshotTypes: MonitorType[] = ["hardware", "pagespeed"];
|
const snapshotTypes: MonitorType[] = ["hardware"];
|
||||||
const requestedTypes = Array.isArray(type) ? type : type ? [type] : [];
|
const requestedTypes = Array.isArray(type) ? type : type ? [type] : [];
|
||||||
const snapshotOnlyRequest =
|
const snapshotOnlyRequest =
|
||||||
requestedTypes.length > 0 && requestedTypes.every((requestedType) => snapshotTypes.includes(requestedType as MonitorType));
|
requestedTypes.length > 0 && requestedTypes.every((requestedType) => snapshotTypes.includes(requestedType as MonitorType));
|
||||||
|
|||||||
Reference in new issue
Block a user