In the Angular MARC editor, avoid showing the 'Create authority link'
buttons when editing authority records.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<ng-template #postSubfieldsChunk let-field="field">
- <ng-container *ngIf="isControlledBibTag(field.tag)">
+ <ng-container *ngIf="context.recordType === 'biblio' && isControlledBibTag(field.tag)">
<button class="btn btn-sm btn-outline-info link-button"
i18n-title title="Create authority link"
(click)="openLinkerDialog(field)">