Skip to content

Commit

Permalink
Download files if viewer can't show data
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Sep 4, 2023
1 parent 328e616 commit 933415f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ export default {
);
} catch (error) {
Utils.exception(this, error, "Viewer Error");
// Try to download instead
file.download();
}
}
},
Expand Down

0 comments on commit 933415f

Please sign in to comment.