From eeaf7e4a4677b4facc778ae057090add05044598 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Mon, 4 Aug 2025 16:28:54 +0200 Subject: [PATCH] fix: compare empty list of collections --- src/services/config/config.services.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/config/config.services.ts b/src/services/config/config.services.ts index eb8c133b..ee8ea8a0 100644 --- a/src/services/config/config.services.ts +++ b/src/services/config/config.services.ts @@ -493,7 +493,7 @@ const prepareConfig = async ({ ...(!('mutablePermissions' in rule) && {mutablePermissions: true}) }; - return nonNullish(currentHash) && currentHash !== objHash(extendRuleWithDefault); + return isNullish(currentHash) || currentHash !== objHash(extendRuleWithDefault); }); const storageCollections = filterCollections({