Always show substitutes if applicable
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
This commit is contained in:
@@ -19,6 +19,9 @@ import {MatGridList, MatGridTile} from "@angular/material/grid-list";
|
||||
import {Round} from "../../model/round";
|
||||
import {Group} from "../../model/group";
|
||||
import {Game} from "../../model/game";
|
||||
import {TeamDisplayComponent} from "../team-display/team-display.component";
|
||||
import {Event} from "../../model/event";
|
||||
import {Tournament} from "../../model/tournament";
|
||||
|
||||
@Component({
|
||||
selector: 'app-match-result',
|
||||
@@ -28,14 +31,14 @@ import {Game} from "../../model/game";
|
||||
MatButton,
|
||||
MatDialogClose,
|
||||
MatDialogTitle,
|
||||
TeamPipe,
|
||||
MatInput,
|
||||
ReactiveFormsModule,
|
||||
FormsModule,
|
||||
MatFormField,
|
||||
MatGridList,
|
||||
MatGridTile,
|
||||
NgClass
|
||||
NgClass,
|
||||
TeamDisplayComponent
|
||||
],
|
||||
providers: [
|
||||
FullNamePipe,
|
||||
@@ -49,7 +52,7 @@ export class MatchResultComponent {
|
||||
|
||||
result: Result = new Result();
|
||||
|
||||
constructor(@Inject(MAT_DIALOG_DATA) public data: {match: Match, group: Group, round: Round}) {
|
||||
constructor(@Inject(MAT_DIALOG_DATA) public data: {match: Match, tournament: Tournament, event: Event, group: Group, round: Round}) {
|
||||
this.result.matchId = this.data.match.id;
|
||||
|
||||
if (data.match.games.length == 0) {
|
||||
|
||||
Reference in New Issue
Block a user