Skip to content

Commit 6c290cc

Browse files
CHIZI-0618xireiki
andauthored
feat: mode-list support (#1)
Co-authored-by: xireiki <[email protected]>
1 parent 4784540 commit 6c290cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Config.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function ConfigImpl({
223223
);
224224

225225
const modeOptions = useMemo(() => {
226-
return configState.modes || ['Global', 'Rule', 'Direct'];
226+
return configState["mode-list"] || configState.modes || ['Global', 'Rule', 'Direct'];
227227
}, [configState.modes]);
228228

229229
return (

0 commit comments

Comments
 (0)