iptv/scripts/store/getters/title.js
Aleksandr Statciuk 9a4a62fd10 wip
2022-02-07 00:04:56 +03:00

14 lines
234 B
JavaScript

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