fix: hide ai settings if not enabled
This commit is contained in:
@@ -9,6 +9,7 @@ export const loader = defineSettingPageData({
|
||||
icon: iconName,
|
||||
name: "titles.ai",
|
||||
priority,
|
||||
hideIf: (_ctx, serverConfigs) => !serverConfigs?.AI_CHAT_ENABLED,
|
||||
})
|
||||
|
||||
export function Component() {
|
||||
|
||||
Reference in New Issue
Block a user