Handle showing disabled state of automatic chapter deletion (#533)
The disabled state (0) was incorrectly handled as the downloading state
This commit is contained in:
@@ -43,7 +43,7 @@ const CHAPTERS_TO_DELETE_SELECT_VALUES: SelectSettingValue<(typeof CHAPTERS_TO_D
|
||||
]);
|
||||
|
||||
const getNormalizedChapterToDelete = (chapterToDelete?: number | boolean) => {
|
||||
if (!chapterToDelete) {
|
||||
if (chapterToDelete === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user