Skip to content

Commit 2b2125c

Browse files
committed
fix(ai_chat): conversation not visible on Firefox
1 parent 85a4557 commit 2b2125c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/client/src/widgets/note_detail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
195195
// https://github.com/zadam/trilium/issues/2522
196196
const isBackendNote = this.noteContext?.noteId === "_backendLog";
197197
const isSqlNote = this.mime === "text/x-sqlite;schema=trilium";
198-
const isFullHeightNoteType = ["canvas", "webView", "noteMap", "mindMap", "mermaid", "file"].includes(this.type ?? "");
198+
const isFullHeightNoteType = ["canvas", "webView", "noteMap", "mindMap", "mermaid", "file", "aiChat"].includes(this.type ?? "");
199199
const isFullHeight = (!this.noteContext?.hasNoteList() && isFullHeightNoteType && !isSqlNote)
200200
|| this.noteContext?.viewScope?.viewMode === "attachments"
201201
|| isBackendNote;

0 commit comments

Comments
 (0)