Disable redo OCR without edit permissions

This commit is contained in:
Michael Shamoon 2023-01-27 12:21:45 -08:00
parent 9b1b620a9c
commit 118e3703dc

View File

@ -28,7 +28,7 @@
</div>
<button *appIfOwner="document" type="button" class="btn btn-sm btn-outline-primary me-2" (click)="redoOcr()">
<button type="button" class="btn btn-sm btn-outline-primary me-2" (click)="redoOcr()" [disabled]="!userCanEdit">
<svg class="buttonicon" fill="currentColor">
<use xlink:href="assets/bootstrap-icons.svg#arrow-counterclockwise" />
</svg><span class="d-none d-lg-inline ps-1" i18n>Redo OCR</span>