From 68b0cb1312c184d04ea0d943913c97df5048b304 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Tue, 16 May 2023 01:11:31 +0430 Subject: [PATCH] update common.js --- web/assets/js/util/common.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/assets/js/util/common.js b/web/assets/js/util/common.js index f411148b..34c3cf56 100644 --- a/web/assets/js/util/common.js +++ b/web/assets/js/util/common.js @@ -108,9 +108,9 @@ function usageColor(data, threshold, total) { function areAllItemsExist(array1, array2) { for (let i = 0; i < array1.length; i++) { - if (!array2.includes(array1[i])) { - return false; - } + if (!array2.includes(array1[i])) { + return false; + } } return true; - } \ No newline at end of file +}