We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abe5aa3 commit 4810ebaCopy full SHA for 4810eba
src/model/ToolsData.ts
@@ -13,10 +13,18 @@ export class ToolsData {
13
name: "",
14
logoUrl: "",
15
backdropUrl: "",
16
+ enabled: false,
17
};
18
19
public constructor(init?: Partial<ToolsData>) {
20
Object.assign(this, init);
21
+ if (
22
+ this.tournamentInfo.backdropUrl != "" ||
23
+ this.tournamentInfo.logoUrl != "" ||
24
+ this.tournamentInfo.name != ""
25
+ ) {
26
+ this.tournamentInfo.enabled = true;
27
+ }
28
}
29
30
@@ -36,6 +44,7 @@ export type ITournamentInfo = {
36
44
name: string;
37
45
logoUrl: string;
38
46
backdropUrl: string;
47
+ enabled: boolean;
39
48
40
49
41
50
type BaseMapPoolInfo = {
0 commit comments