diff --git a/src/components/download/TimeSeriesFileDownloadComponent.vue b/src/components/download/TimeSeriesFileDownloadComponent.vue index 0b4475fd..491eb18e 100644 --- a/src/components/download/TimeSeriesFileDownloadComponent.vue +++ b/src/components/download/TimeSeriesFileDownloadComponent.vue @@ -210,8 +210,17 @@ const downloadFile = (downloadFormat: string) => { ) } if (isTimeSeriesGridActionsFilter(props.filter)) { - console.log('Not implemented') - return + props.filter.documentFormat = downloadFormat + const queryParameters = filterToParams(props.filter) + const url = new URL( + `${baseUrl}rest/fewspiservice/v1/timeseries/grid${queryParameters}&${viewPeriod}`, + ) + return downloadFileAttachment( + url.href, + fileName.value, + downloadFormat, + authenticationManager.getAccessToken(), + ) } }