Skip to content

Commit

Permalink
refactor: Give NorthstarState enum mapped string
Browse files Browse the repository at this point in the history
So that when printing out the value for debug purposes it is clear
which value it is.
  • Loading branch information
GeckoEidechse committed Oct 4, 2022
1 parent 7331507 commit 4c812b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src-vue/src/utils/NorthstarState.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export enum NorthstarState {
GAME_NOT_FOUND,
INSTALL,
INSTALLING,
MUST_UPDATE,
UPDATING,
READY_TO_PLAY
GAME_NOT_FOUND = "GAME_NOT_FOUND",
INSTALL = "INSTALL",
INSTALLING = "INSTALLING",
MUST_UPDATE = "MUST_UPDATE",
UPDATING = "UPDATING",
READY_TO_PLAY = "READY_TO_PLAY"
}

0 comments on commit 4c812b8

Please sign in to comment.