Skip to content

Commit

Permalink
Fix download of ALL TYPES of transactions.
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Viénot <[email protected]>
  • Loading branch information
svienot committed Mar 21, 2024
1 parent beaa08e commit c5392bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/download/TransactionDownloadDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ export default defineComponent({
&& (startDate.value == null || startDate.value < endDate.value)
)

const transactionType = computed(() => selectedFilter.value as TransactionType)
const transactionType = computed(
() => selectedFilter.value !== '' ? selectedFilter.value as TransactionType : null
)
const downloader = computed<AbstractTransactionDownloader>(() => {
let result: AbstractTransactionDownloader
if (selectedScope.value === 'TOKEN TRANSFERS' || selectedScope.value === 'TOKEN TRANSFERS BY ID') {
Expand Down

0 comments on commit c5392bb

Please sign in to comment.