From 8abe974bfe0206423a02ec427e2e281ee6ab6e96 Mon Sep 17 00:00:00 2001 From: jingjingxyk Date: Wed, 6 Dec 2023 21:56:26 +0800 Subject: [PATCH] update gobal dynamic rule --- extension/options_ui/js/CommonBundle/Components/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/options_ui/js/CommonBundle/Components/common.js b/extension/options_ui/js/CommonBundle/Components/common.js index 9a46b0cd..ede6c08c 100644 --- a/extension/options_ui/js/CommonBundle/Components/common.js +++ b/extension/options_ui/js/CommonBundle/Components/common.js @@ -95,7 +95,7 @@ let deleteDynamicRules = (type, id = 0, callback = () => {}, ...args) => { */ let backupSelfDefinedDynamicRules = () => { chrome.declarativeNetRequest.getDynamicRules((rules) => { - if (1 || rules.length > 0) { + if (rules.length > 0) { let time = new Date().toISOString(); console.log(time); //time=parseInt(new Date().getTime() / 1000).toString()