|
|
@@ -18,6 +18,7 @@ export class FrontcraftRaidComponent implements OnInit, OnDestroy{
|
|
18
|
18
|
isSignedup = false
|
|
19
|
19
|
islate = false
|
|
20
|
20
|
isTier = false
|
|
|
21
|
+ reservesShown = true
|
|
21
|
22
|
manageRaid
|
|
22
|
23
|
mySignup: (Signup & Character & Spec)
|
|
23
|
24
|
|
|
|
@@ -36,7 +37,7 @@ export class FrontcraftRaidComponent implements OnInit, OnDestroy{
|
|
36
|
37
|
tanks: [],
|
|
37
|
38
|
healers: [],
|
|
38
|
39
|
tokens:{},
|
|
39
|
|
- tier: 'MC'
|
|
|
40
|
+ tier: 'null'
|
|
40
|
41
|
}
|
|
41
|
42
|
tokens = {}
|
|
42
|
43
|
displayedtokens = {}
|
|
|
@@ -79,8 +80,6 @@ export class FrontcraftRaidComponent implements OnInit, OnDestroy{
|
|
79
|
80
|
this.uuid = res.uuid
|
|
80
|
81
|
}
|
|
81
|
82
|
|
|
82
|
|
-
|
|
83
|
|
-
|
|
84
|
83
|
itemSelect = async(item) => {
|
|
85
|
84
|
this.dialogService.open(FrontcraftBuyTokenComponent, {
|
|
86
|
85
|
context: {
|
|
|
@@ -89,6 +88,10 @@ export class FrontcraftRaidComponent implements OnInit, OnDestroy{
|
|
89
|
88
|
tier: this.raid.tier,
|
|
90
|
89
|
characterName: this.mySignup.charactername
|
|
91
|
90
|
}
|
|
|
91
|
+ }).onClose.subscribe(() => {
|
|
|
92
|
+ this.refresh().then(()=>{
|
|
|
93
|
+ this.reservesShown = true
|
|
|
94
|
+ })
|
|
92
|
95
|
})
|
|
93
|
96
|
}
|
|
94
|
97
|
|
|
|
@@ -102,6 +105,10 @@ export class FrontcraftRaidComponent implements OnInit, OnDestroy{
|
|
102
|
105
|
context: {
|
|
103
|
106
|
raid: this.raid,
|
|
104
|
107
|
}
|
|
|
108
|
+ }).onClose.subscribe(() => {
|
|
|
109
|
+ this.refresh().then(()=>{
|
|
|
110
|
+ this.reservesShown = false
|
|
|
111
|
+ })
|
|
105
|
112
|
})
|
|
106
|
113
|
}
|
|
107
|
114
|
|