From 6dc16f3ddd7c44c4848251b24aceaa1cfd75cd55 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 9 Jan 2025 20:10:46 -0800 Subject: [PATCH] Fixed Import List CleanLibraryLevel Options --- .../ImportLists/Options/ImportListOptions.tsx | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/frontend/src/Settings/ImportLists/Options/ImportListOptions.tsx b/frontend/src/Settings/ImportLists/Options/ImportListOptions.tsx index 0a222ce1e..20f00952c 100644 --- a/frontend/src/Settings/ImportLists/Options/ImportListOptions.tsx +++ b/frontend/src/Settings/ImportLists/Options/ImportListOptions.tsx @@ -20,10 +20,30 @@ import translate from 'Utilities/String/translate'; const SECTION = 'importListOptions'; const cleanLibraryLevelOptions = [ - { key: 'disabled', value: () => translate('Disabled') }, - { key: 'logOnly', value: () => translate('LogOnly') }, - { key: 'keepAndUnmonitor', value: () => translate('KeepAndUnmonitorSeries') }, - { key: 'keepAndTag', value: () => translate('KeepAndTagSeries') }, + { + key: 'disabled', + get value() { + return translate('Disabled'); + }, + }, + { + key: 'logOnly', + get value() { + return translate('LogOnly'); + }, + }, + { + key: 'keepAndUnmonitor', + get value() { + return translate('KeepAndUnmonitorSeries'); + }, + }, + { + key: 'keepAndTag', + get value() { + return translate('KeepAndTagSeries'); + }, + }, ]; interface ImportListOptionsProps {