fixed args field focus

This commit is contained in:
Eugene Pankov 2018-12-22 11:15:40 +01:00
parent 459d6aadd9
commit 0e6886d00a
2 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,7 @@
.form-group
label Arguments
.input-group(
*ngFor='let arg of profile.sessionOptions.args; index as i',
*ngFor='let arg of profile.sessionOptions.args; index as i; trackBy: trackByIndex',
)
input.form-control(
type='text',

View File

@ -25,4 +25,8 @@ export class EditProfileModalComponent {
cancel () {
this.modalInstance.dismiss()
}
trackByIndex (index) {
return index
}
}