File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
22
@update:model-value =" updateDateRange"
23
23
/>
24
24
</v-col >
25
- <v-col cols =" 12" sm =" 4" class =" d-flex align-center " >
25
+ <v-col cols =" 12" sm =" 4" class =" d-flex align-end " >
26
26
<v-btn
27
27
color =" primary"
28
28
variant =" outlined"
33
33
</v-btn >
34
34
<v-btn
35
35
color =" primary"
36
- :loading =" loading"
36
+ :loading =" props. loading"
37
37
@click =" applyDateRange"
38
38
>
39
39
Apply
Original file line number Diff line number Diff line change @@ -186,10 +186,10 @@ export default defineNuxtComponent({
186
186
// Load initial data
187
187
try {
188
188
const { data : metricsData, error : metricsError } = await this .metricsFetch ;
189
- if (metricsError . value || ! metricsData . value ) {
190
- this .processError (metricsError . value as H3Error );
189
+ if (metricsError || ! metricsData ) {
190
+ this .processError (metricsError as H3Error );
191
191
} else {
192
- const apiResponse = metricsData . value as MetricsApiResponse ;
192
+ const apiResponse = metricsData as MetricsApiResponse ;
193
193
this .metrics = apiResponse .metrics || [];
194
194
this .originalMetrics = apiResponse .usage || [];
195
195
this .metricsReady = true ;
You can’t perform that action at this time.
0 commit comments