Fixed cspacers
This commit is contained in:
parent
bbb14eb4d7
commit
3638085ce3
1 changed files with 2 additions and 2 deletions
|
@ -548,7 +548,7 @@ class ChannelEntry {
|
|||
break parseType;
|
||||
}
|
||||
|
||||
this._channel_name_formatted = this.properties.channel_name.substr(end + 1);
|
||||
this._channel_name_formatted = this.properties.channel_name.substr(end + 1) || "";
|
||||
console.log(tr("Got formated channel name: %o"), this._channel_name_formatted);
|
||||
}
|
||||
|
||||
|
@ -558,7 +558,7 @@ class ChannelEntry {
|
|||
tag_container_name.removeClass(ChannelEntry.NAME_ALIGNMENTS.join(" "));
|
||||
|
||||
const tag_name = tag_container_name.find(".channel-name");
|
||||
tag_name.text(this._channel_name_formatted || this.properties.channel_name);
|
||||
tag_name.text(this._channel_name_formatted === undefined ? this.properties.channel_name : this._channel_name_formatted);
|
||||
|
||||
if(this._channel_name_formatted !== undefined) {
|
||||
tag_container_name.addClass(this._channel_name_alignment);
|
||||
|
|
Loading…
Add table
Reference in a new issue