-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed a bug that made it impossible to add manual team bonuses if the team hadn't finished any challenges. * Clarify advanced score tooltip on new scoreboard. * Add hub connection info to overview
- Loading branch information
1 parent
ed83bf0
commit 894d1d7
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
projects/gameboard-ui/src/app/admin/components/admin-overview/admin-overview.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
import { GameHubService } from '@/services/signalR/game-hub.service'; | ||
import { SupportHubService } from '@/services/signalR/support-hub.service'; | ||
import { Component } from '@angular/core'; | ||
import { HubConnectionState } from '@microsoft/signalr'; | ||
import { Observable } from 'rxjs'; | ||
|
||
@Component({ | ||
selector: 'app-admin-overview', | ||
templateUrl: './admin-overview.component.html', | ||
styleUrls: ['./admin-overview.component.scss'] | ||
}) | ||
export class AdminOverviewComponent { | ||
protected gameHubState$: Observable<HubConnectionState>; | ||
protected supportHubState$: Observable<HubConnectionState>; | ||
|
||
constructor( | ||
private gameHubService: GameHubService, | ||
supportHub: SupportHubService) { | ||
this.gameHubState$ = gameHubService.hubState$; | ||
this.supportHubState$ = supportHub.hubState$; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters