mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 09:01:57 +08:00
refactor: #2256 hide builtin masks
This commit is contained in:
@@ -90,7 +90,7 @@ export const useMaskStore = create<MaskStore>()(
|
||||
(a, b) => b.id - a.id,
|
||||
);
|
||||
const config = useAppConfig.getState();
|
||||
if (config.dontAddBuiltinMasks) return userMasks;
|
||||
if (config.hideBuiltinMasks) return userMasks;
|
||||
const buildinMasks = BUILTIN_MASKS.map(
|
||||
(m) =>
|
||||
({
|
||||
|
Reference in New Issue
Block a user