Skip to content

Commit

Permalink
Merge pull request #345 from Ontotext-AD/GDB-5260-workbench-displays-…
Browse files Browse the repository at this point in the history
…read-only-repositories-with-read-write-access

GDB-5260 Add additional check for read/write access in popove
  • Loading branch information
desislava-hristova-ontotext authored Dec 14, 2020
2 parents 986e30b + db7e7f0 commit f2a39b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/angular/templates/repositorySize.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="row mb-1">
<label style="margin-right: 10px">Access:</label>
<span class="text-right pull-right">
{{(canWriteRepoInActiveLocation(popoverRepo.id) && popoverRepo.type !== 'ontop') ? 'Read/write' : 'Read-only'}}
{{(popoverRepo.writable && canWriteRepoInActiveLocation(popoverRepo.id) && popoverRepo.type !== 'ontop') ? 'Read/write' : 'Read-only'}}
</span>
</div>
<div ng-show="repositorySize.total >= 0">
Expand Down

0 comments on commit f2a39b1

Please sign in to comment.