Skip to content

Commit

Permalink
no-return-assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Jan 15, 2023
1 parent af0ace3 commit 659696a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Document.vue
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export default class DocumentDetails extends Vue {
this.pdfdata = pdfvuer.createLoadingTask({ url, httpHeaders: { Authorization: this.$store.getters.server.server.headers.get('Authorization') } });
(this.pdfdata as Promise<any>).then(pdf => {
this.numPages = pdf.numPages;
}).catch(e => this.error = e);
}).catch(e => { this.error = e });
}
mounted () {
Expand Down

0 comments on commit 659696a

Please sign in to comment.