diff --git a/src/utils/skipProfiles.ts b/src/utils/skipProfiles.ts index 453dad9a..7e0a6af0 100644 --- a/src/utils/skipProfiles.ts +++ b/src/utils/skipProfiles.ts @@ -74,7 +74,7 @@ export function getSkipProfileNum(key: "minDuration"): number { function getSkipProfileValue(key: keyof CustomConfiguration): T { const profile = getSkipProfile(); - if (profile && profile[key] !== undefined) { + if (profile && profile[key] !== null) { return profile[key] as T; }