Fix undefined in tag tooltip

This commit is contained in:
Cohee 2024-04-06 20:17:58 +03:00
parent c752a54c62
commit 866f514d19
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ function appendTagToList(listElement, tag, { removable = false, selectable = fal
tagElement.attr('title', tag.title); tagElement.attr('title', tag.title);
} }
if (tag.icon) { if (tag.icon) {
tagElement.find('.tag_name').text('').attr('title', `${tag.name} ${tag.title}`.trim()).addClass(tag.icon); tagElement.find('.tag_name').text('').attr('title', `${tag.name} ${tag.title || ''}`.trim()).addClass(tag.icon);
tagElement.addClass('actionable'); tagElement.addClass('actionable');
} }