diff --git a/src/frontend/app/administration/tag/tag-administration.component.html b/src/frontend/app/administration/tag/tag-administration.component.html index 468586476d879f4a7b54a50ebfbb5cb24f301e04..332351fd72bcc694e6081564e15f65364ea058ab 100644 --- a/src/frontend/app/administration/tag/tag-administration.component.html +++ b/src/frontend/app/administration/tag/tag-administration.component.html @@ -47,6 +47,11 @@ <div *ngIf="!creationMode && !tag.canMerge.value" class="alert-message alert-message-danger" style="min-width: 100%;"> {{'lang.cannotMergeTags' | translate}} </div> + <plugin-select-search *ngIf="!loadingTags && tag.canMerge.value && !creationMode" + [label]="this.translate.instant('lang.mergeTagWith')" [placeholderLabel]="this.translate.instant('lang.mergeTagWith')" + [formControlSelect]="selectMergeTag" [datas]="tags" (afterOpened)="getTags()" + (afterSelected)="mergeTag($event)" style="width:100%;"> + </plugin-select-search> <div class="text-center"> <button mat-raised-button [disabled]="!tagFormGroup.valid" color="primary">{{'lang.validate' | translate}}</button>