Skip to content

Commit

Permalink
Guard against Tooltip being null when disposing
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Aug 1, 2023
1 parent 67d76a0 commit 44b34e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/javascript/components/docupload/file-document.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export default {
},
methods: {
makeResult(e) {
Tooltip.getInstance(e.target).dispose()
Tooltip.getInstance(e.target)?.dispose()
this.updateDocument({
creatingDocument: true
})
Expand Down

0 comments on commit 44b34e3

Please sign in to comment.