Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit bc58ef6

Browse files
committed
fix(llm): LLM note type should not be selectable (closes #1848)
1 parent 5d2a779 commit bc58ef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/client/src/widgets/note_type.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const NOTE_TYPES: NoteTypeMapping[] = [
3838
// Misc note types
3939
{ type: "render", mime: "", title: t("note_types.render-note"), selectable: true },
4040
{ type: "webView", mime: "", title: t("note_types.web-view"), selectable: true },
41-
{ type: "aiChat", mime: "application/json", title: t("note_types.ai-chat"), selectable: true },
4241

4342
// Code notes
4443
{ type: "code", mime: "text/plain", title: t("note_types.code"), selectable: true },
@@ -50,7 +49,8 @@ const NOTE_TYPES: NoteTypeMapping[] = [
5049
{ type: "image", title: t("note_types.image"), selectable: false },
5150
{ type: "launcher", mime: "", title: t("note_types.launcher"), selectable: false },
5251
{ type: "noteMap", mime: "", title: t("note_types.note-map"), selectable: false },
53-
{ type: "search", title: t("note_types.saved-search"), selectable: false }
52+
{ type: "search", title: t("note_types.saved-search"), selectable: false },
53+
{ type: "aiChat", mime: "application/json", title: t("note_types.ai-chat"), selectable: false }
5454
];
5555

5656
const NOT_SELECTABLE_NOTE_TYPES = NOTE_TYPES.filter((nt) => !nt.selectable).map((nt) => nt.type);

0 commit comments

Comments
 (0)