mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 06:05:37 +07:00
Fix
This commit is contained in:
@@ -447,7 +447,7 @@ function start() {
|
|||||||
*/
|
*/
|
||||||
this.getRules = function () {
|
this.getRules = function () {
|
||||||
let source = enabled_rules;
|
let source = enabled_rules;
|
||||||
if (storage.referralMarketing) {
|
if (!storage.referralMarketing) {
|
||||||
// Determine if we need to merge referral marketing rules
|
// Determine if we need to merge referral marketing rules
|
||||||
// We use a new object to avoid mutating enabled_rules via Object.assign if that was happening
|
// We use a new object to avoid mutating enabled_rules via Object.assign if that was happening
|
||||||
source = Object.assign({}, enabled_rules, enabled_referralMarketing);
|
source = Object.assign({}, enabled_rules, enabled_referralMarketing);
|
||||||
|
|||||||
Reference in New Issue
Block a user