Skip to content

Commit 73dfdc6

Browse files
committed
Dont show if no tags
1 parent fa8be8f commit 73dfdc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/modelInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class LoraInfoDialog extends ModelInfoDialog {
8080
addTags() {
8181
let tags = this.getTagFrequency();
8282
if(!tags?.length) {
83-
tags = (this.metadata["modelspec.tags"] ?? "").split(",").map(t => [t.trim(), 1]);
83+
tags = this.metadata["modelspec.tags"]?.split(",").map(t => [t.trim(), 1]);
8484
}
8585
let hasMore;
8686
if (tags?.length) {

0 commit comments

Comments
 (0)