mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: disable clickable name edit if user does not have permissions
This commit is contained in:
		| @@ -57,7 +57,7 @@ | ||||
|                   <label class="form-check-label" for="{{typeName}}{{object.id}}"></label> | ||||
|                 </div> | ||||
|               </td> | ||||
|               <td scope="row"><button class="btn btn-link ms-0 ps-0 text-start" (click)="openEditDialog(object)">{{ object.name }}</button> </td> | ||||
|               <td scope="row"><button class="btn btn-link ms-0 ps-0 text-start" (click)="userCanEdit(object) ? openEditDialog(object) : null">{{ object.name }}</button> </td> | ||||
|               <td scope="row" class="d-none d-sm-table-cell">{{ getMatching(object) }}</td> | ||||
|               <td scope="row">{{ object.document_count }}</td> | ||||
|               @for (column of extraColumns; track column) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon