mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Disable redo OCR without edit permissions
This commit is contained in:
parent
9b1b620a9c
commit
118e3703dc
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue