Add trackBy option (#342)
This commit is contained in:
parent
b47f7e8cf1
commit
27a32463d9
|
@ -105,7 +105,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ng-container *ngIf="cipher.login.hasUris">
|
<ng-container *ngIf="cipher.login.hasUris">
|
||||||
<div class="row" appBoxRow *ngFor="let u of cipher.login.uris; let i = index">
|
<div class="row" appBoxRow *ngFor="let u of cipher.login.uris; let i = index; trackBy:trackByFunction">
|
||||||
<div class="col-7 form-group">
|
<div class="col-7 form-group">
|
||||||
<label for="loginUri{{i}}">{{'uriPosition' | i18n : (i + 1)}}</label>
|
<label for="loginUri{{i}}">{{'uriPosition' | i18n : (i + 1)}}</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
@ -308,7 +308,7 @@
|
||||||
</div>
|
</div>
|
||||||
<h3 class="mt-4">{{'customFields' | i18n}}</h3>
|
<h3 class="mt-4">{{'customFields' | i18n}}</h3>
|
||||||
<ng-container *ngIf="cipher.hasFields">
|
<ng-container *ngIf="cipher.hasFields">
|
||||||
<div class="row" appBoxRow *ngFor="let f of cipher.fields; let i = index">
|
<div class="row" appBoxRow *ngFor="let f of cipher.fields; let i = index; trackBy:trackByFunction">
|
||||||
<div class="col-5 form-group">
|
<div class="col-5 form-group">
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<label for="fieldName{{i}}">{{'name' | i18n}}</label>
|
<label for="fieldName{{i}}">{{'name' | i18n}}</label>
|
||||||
|
|
Loading…
Reference in New Issue