Compare commits

..

2 Commits

Author SHA1 Message Date
Spythere b01d3e894b Merge pull request #63 from Spythere/development
hotfix: statusy dr
2023-11-15 21:07:28 +01:00
Spythere 13dc6a0e32 hotfix: statusy dr 2023-11-15 21:06:16 +01:00
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -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';
+1
View File
@@ -2,6 +2,7 @@ export namespace Status {
export enum ActiveDispatcher {
INVALID = -2,
UNKNOWN = -1,
NO_LIMIT = 0,
AFK = 1,
ENDING = 2,
NO_SPACE = 3,