mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 00:43:15 +00:00
style(assistant): format the status selector
This commit is contained in:
@@ -329,7 +329,7 @@ export function chatOf(state: Pick<AssistantState, 'byTrip'>, key: AssistantChat
|
||||
*/
|
||||
export function aiRoutesOpen(
|
||||
{ loaded, isEnabled }: Pick<ReturnType<typeof useAddonStore.getState>, 'loaded' | 'isEnabled'>,
|
||||
managed: boolean,
|
||||
managed: boolean
|
||||
): boolean {
|
||||
return loaded && (isEnabled('ai_assistant') || (!managed && isEnabled('llm_parsing')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user