Skip to content

Commit

Permalink
do not display error if resource not found
Browse files Browse the repository at this point in the history
  • Loading branch information
kevodwyer committed Aug 26, 2024
1 parent 5c994b1 commit b54ad52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/viewers/Markup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ module.exports = {
var future = peergos.shared.util.Futures.incomplete();
this.context.getByPath(filePath).thenApply(function(fileOpt){
if (fileOpt.ref == null) {
that.showErrorMessage("path not found!: " + filePath);
//that.showErrorMessage("path not found!: " + filePath);
future.complete(null);
} else {
let file = fileOpt.get();
Expand Down

0 comments on commit b54ad52

Please sign in to comment.