Update main.js

This commit is contained in:
2025-12-07 15:39:05 +08:00
committed by GitHub
parent 69f204f650
commit c3d52645f1

View File

@@ -479,6 +479,8 @@ class AmilyHelper {
depth: newEntryData.depth ?? 998,
scanDepth: newEntryData.scanDepth ?? null,
disable: !(newEntryData.enabled ?? true),
excludeRecursion: newEntryData.excludeRecursion ?? newEntryData.exclude_recursion ?? false,
preventRecursion: newEntryData.preventRecursion ?? newEntryData.prevent_recursion ?? false,
});
if (newEntryData.type === 'selective') newEntry.constant = false;
}