|
89 | 89 | <v-expansion-panel> |
90 | 90 | <v-expansion-panel-header class="py-0"> Influences </v-expansion-panel-header> |
91 | 91 | <v-expansion-panel-content class="custom-padding"> |
92 | | - <faction-influence-chart :faction-data="faction" /> |
| 92 | + <faction-influence-chart :faction-data="faction" :end-today="changedFilterDates[1] === currentUtcDate" /> |
93 | 93 | </v-expansion-panel-content> |
94 | 94 | </v-expansion-panel> |
95 | 95 | <v-expansion-panel> |
96 | 96 | <v-expansion-panel-header class="py-0"> State Periods </v-expansion-panel-header> |
97 | 97 | <v-expansion-panel-content class="custom-padding"> |
98 | | - <faction-state-chart :faction-data="faction" /> |
| 98 | + <faction-state-chart :faction-data="faction" :end-date="endDate" /> |
99 | 99 | </v-expansion-panel-content> |
100 | 100 | </v-expansion-panel> |
101 | 101 | <v-expansion-panel> |
102 | 102 | <v-expansion-panel-header class="py-0"> Active State Periods </v-expansion-panel-header> |
103 | 103 | <v-expansion-panel-content class="custom-padding"> |
104 | | - <faction-state-apr-chart :faction-data="faction" type="active" /> |
| 104 | + <faction-state-apr-chart :faction-data="faction" type="active" :end-date="endDate" /> |
105 | 105 | </v-expansion-panel-content> |
106 | 106 | </v-expansion-panel> |
107 | 107 | <v-expansion-panel> |
108 | 108 | <v-expansion-panel-header class="py-0"> Pending State Periods </v-expansion-panel-header> |
109 | 109 | <v-expansion-panel-content class="custom-padding"> |
110 | | - <faction-state-apr-chart :faction-data="faction" type="pending" /> |
| 110 | + <faction-state-apr-chart :faction-data="faction" type="pending" :end-date="endDate" /> |
111 | 111 | </v-expansion-panel-content> |
112 | 112 | </v-expansion-panel> |
113 | 113 | <v-expansion-panel> |
114 | 114 | <v-expansion-panel-header class="py-0"> Recovering State Periods </v-expansion-panel-header> |
115 | 115 | <v-expansion-panel-content class="custom-padding"> |
116 | | - <faction-state-apr-chart :faction-data="faction" type="recovering" /> |
| 116 | + <faction-state-apr-chart :faction-data="faction" type="recovering" :end-date="endDate" /> |
117 | 117 | </v-expansion-panel-content> |
118 | 118 | </v-expansion-panel> |
119 | 119 | <v-expansion-panel> |
120 | 120 | <v-expansion-panel-header class="py-0"> Happiness Periods </v-expansion-panel-header> |
121 | 121 | <v-expansion-panel-content class="custom-padding"> |
122 | | - <faction-happiness-chart :faction-data="faction" /> |
| 122 | + <faction-happiness-chart :faction-data="faction" :end-date="endDate" /> |
123 | 123 | </v-expansion-panel-content> |
124 | 124 | </v-expansion-panel> |
125 | 125 | </v-expansion-panels> |
@@ -222,6 +222,9 @@ export default { |
222 | 222 | }, |
223 | 223 | datePickerDisplay() { |
224 | 224 | return `${this.filterDates[0]} - ${this.filterDates[1]}` |
| 225 | + }, |
| 226 | + endDate() { |
| 227 | + return this.changedFilterDates[1] !== this.currentUtcDate ? this.changedFilterDates[1] : '' |
225 | 228 | } |
226 | 229 | }, |
227 | 230 | methods: { |
|
0 commit comments