Fix channel alt text in user list to mention type

This commit is contained in:
Max Leiter 2021-06-21 22:14:00 -07:00
parent 867fff33c0
commit 7107372a6f
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -72,11 +72,7 @@ export default {
}
}
if (extra.length > 0) {
return `${type}: ${this.channel.name} (${extra.join(", ")})`;
}
return this.channel.name;
return `${type}: ${this.channel.name} ${extra.length ? `(${extra.join(", ")})` : ""}`;
},
click() {
if (this.isFiltering) {