From 262cd5a20fe401c230f9a0eb96608f96f6c79fae Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 27 Nov 2021 15:32:30 +0100 Subject: fix: change external black/whitelist names (#165) (#171) --- components/Tweaks/TagPanel.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components/Tweaks/TagPanel.tsx') diff --git a/components/Tweaks/TagPanel.tsx b/components/Tweaks/TagPanel.tsx index 8d63c6f..58f4b7d 100644 --- a/components/Tweaks/TagPanel.tsx +++ b/components/Tweaks/TagPanel.tsx @@ -17,6 +17,7 @@ export const TagPanel = (props: TagPanelProps) => { }) const currentTags = mode === 'blacklist' ? 'tagsBlacklist' : 'tagsWhitelist' + const name = mode === 'blacklist' ? 'blocklist' : 'allowlist' const [selectedItems, setSelectedItems] = useState( filter[currentTags].map((tag) => { return { value: tag, label: tag } @@ -27,7 +28,7 @@ export const TagPanel = (props: TagPanelProps) => { null} disableCreateItem={true} -- cgit v1.2.3