Fix crash

This commit is contained in:
pythongosssss
2024-07-14 12:53:18 +01:00
parent d1935f10d6
commit fa8be8f50d
+1 -1
View File
@@ -179,7 +179,7 @@ export class LoraInfoDialog extends ModelInfoDialog {
$el("div", {
parent: this.content,
innerHTML: info.description ?? this.metadata["modelspec.description"] ?? "[No description provided]",
innerHTML: info?.description ?? this.metadata["modelspec.description"] ?? "[No description provided]",
style: {
maxHeight: "250px",
overflow: "auto",