new xray settings configuration #202

This commit is contained in:
Alireza Ahmadi
2023-05-15 19:47:48 +02:00
parent ceb0e0837f
commit 243273defd
4 changed files with 628 additions and 101 deletions

View File

@@ -104,4 +104,13 @@ function usageColor(data, threshold, total) {
default:
return 'red';
}
}
}
function areAllItemsExist(array1, array2) {
for (let i = 0; i < array1.length; i++) {
if (!array2.includes(array1[i])) {
return false;
}
}
return true;
}