Skip to content

Commit

Permalink
Fix: Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum committed Jan 22, 2018
1 parent 78942ba commit ede6866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/viewers/BaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ class BaseViewer extends EventEmitter {
// Do not attempt to fetch annotations if the user cannot create or view annotations
const { permissions } = this.options.file;
if (
permissions &&
!permissions.can_annotate &&
!(permissions.can_view_annotations_all || permissions.can_view_annotations_self)
) {
Expand Down

0 comments on commit ede6866

Please sign in to comment.