feat(app/web): special header color when in beta

This commit is contained in:
lowlighter
2022-07-11 21:31:47 -04:00
parent 0d8dde5614
commit 84de5ae909
7 changed files with 20 additions and 3 deletions

View File

@@ -230,6 +230,9 @@
preview() {
return /-preview$/.test(this.version)
},
beta() {
return /-beta$/.test(this.version)
},
rlreset() {
const reset = new Date(Math.max(this.requests.graphql.reset, this.requests.rest.reset))
return `${reset.getHours()}:${reset.getMinutes()}`