Files
iptv/scripts/store/getters/display_name.js
T

14 lines
227 B
JavaScript

module.exports = function () {
let title = this.title
if (this.resolution.height) {
title += ` (${this.resolution.height}p)`
}
if (this.status.label) {
title += ` [${this.status.label}]`
}
return title
}