Create scripts/store/getters

This commit is contained in:
Aleksandr Statciuk 2021-12-12 07:11:50 +03:00
parent 0e21288935
commit 21b8ce8731
8 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,13 @@
module.exports = function () {
let title = this.name
if (this.resolution.height) {
title += ` (${this.resolution.height}p)`
}
if (this.status.label) {
title += ` [${this.status.label}]`
}
return title
}