Dont show if no tags

This commit is contained in:
pythongosssss
2024-07-14 12:55:21 +01:00
parent fa8be8f50d
commit 73dfdc64d5
+1 -1
View File
@@ -80,7 +80,7 @@ export class LoraInfoDialog extends ModelInfoDialog {
addTags() {
let tags = this.getTagFrequency();
if(!tags?.length) {
tags = (this.metadata["modelspec.tags"] ?? "").split(",").map(t => [t.trim(), 1]);
tags = this.metadata["modelspec.tags"]?.split(",").map(t => [t.trim(), 1]);
}
let hasMore;
if (tags?.length) {