Skip to content

Commit ec3c5d2

Browse files
committed
Fix a bug in relation picker where the previously selected relation target would not be restored after closing searchable select dropdown menu
1 parent 59b74c0 commit ec3c5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

desktop/src/app/components/docedit/widgets/relationpicker/relation-picker.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ export class RelationPickerComponent implements OnChanges {
6868
}
6969

7070

71-
public onBlur() {
71+
public async onBlur() {
7272

73-
this.updateSelectedTarget();
73+
await this.updateSelectedTarget();
7474
if (!this.selectedTarget) this.deleteRelation();
7575
}
7676

0 commit comments

Comments
 (0)