Skip to content

Commit 4ec09da

Browse files
yubaraj poudelpaulbert
authored andcommitted
Fix selecting newly created label (fixes #2685) (#2696)
1 parent c083bf6 commit 4ec09da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/forms/planet-tag-input-dialog.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class PlanetTagInputDialogComponent {
4141
this.tags = this.data.tags;
4242
this.mode = this.data.mode;
4343
if (this.newTagId !== undefined) {
44-
this.tagChange({ value: this.newTagId, selected: true });
44+
this.tagChange({ value: [ this.newTagId ], selected: true });
4545
this.newTagId = undefined;
4646
}
4747
}

0 commit comments

Comments
 (0)