Update format.js

This commit is contained in:
Aleksandr Statciuk 2021-08-22 22:26:01 +03:00
parent d05b5b2de0
commit 72be7245bf
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ function updateOrigins(channel, requests) {
function updateStatus(channel, status) { function updateStatus(channel, status) {
switch (status) { switch (status) {
case 'online': case 'online':
channel.status = null channel.status = channel.status === 'Offline' ? 'Not 24/7' : null
break break
case 'offline': case 'offline':
channel.status = 'Offline' channel.status = 'Offline'