fix: Add more filters for SLA download reports (#9231)

Co-authored-by: iamsivin <iamsivin@gmail.com>
This commit is contained in:
Muhsin Keloth
2024-04-16 09:00:52 +05:30
committed by GitHub
parent f71f43e54a
commit c05a79cf61
3 changed files with 6 additions and 2 deletions

View File

@@ -94,8 +94,8 @@ export default {
const type = 'sla';
try {
this.$store.dispatch('slaReports/download', {
fileName: generateFileName({ type, to: this.to }),
...this.requestPayload,
fileName: generateFileName({ type, to: this.activeFilter.to }),
...this.activeFilter,
});
} catch (error) {
this.showAlert(this.$t('SLA_REPORTS.DOWNLOAD_FAILED'));