mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
hotfix: statusy dr
This commit is contained in:
@@ -31,12 +31,15 @@ export default defineComponent({
|
||||
|
||||
computed: {
|
||||
statusName() {
|
||||
if (!this.dispatcherStatus) return 'free';
|
||||
if (this.dispatcherStatus === undefined) return 'free';
|
||||
|
||||
switch (this.dispatcherStatus) {
|
||||
case Status.ActiveDispatcher.AFK:
|
||||
return 'afk';
|
||||
|
||||
case Status.ActiveDispatcher.NO_LIMIT:
|
||||
return 'no-limit';
|
||||
|
||||
case Status.ActiveDispatcher.ENDING:
|
||||
return 'ending';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user