Skip to content

Commit

Permalink
fix: show gray dot for lobbies that finished gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Apr 18, 2024
1 parent 4411997 commit 6ccde1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/elements/dev/dev-game-logs-sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const statusBadgeClasses = tv({
variants: {
status: {
running: ['bg-green-500'],
closed: ['bg-red-500'],
closed: ['bg-gray-500'],
failed: ['bg-red-500'],
'not-started': ['bg-green-500'],
unknown: ['bg-gray-500']
Expand Down
2 changes: 1 addition & 1 deletion src/elements/pages/dev/game/pages/game-logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ export function formatLobbyStatus(status: Rivet.cloud.LogsLobbyStatus, startTs:
running: 'Running',
'not-started': 'Not started',
failed: 'Failed',
closed: 'Closed',
closed: 'Finished',
unknown: 'Unknown status'
}[statusString];
}
Expand Down

0 comments on commit 6ccde1c

Please sign in to comment.