diff --git a/web/src/admin/outposts/OutpostForm.ts b/web/src/admin/outposts/OutpostForm.ts index a213bf5bc..fba5ba9f9 100644 --- a/web/src/admin/outposts/OutpostForm.ts +++ b/web/src/admin/outposts/OutpostForm.ts @@ -166,7 +166,7 @@ export class OutpostForm extends ModelForm { return groupBy(items, (item) => item.verboseName); }} .selected=${(item: ServiceConnection, items: ServiceConnection[]): boolean => { - let selected = this.instance?.serviceConnection === sc.pk; + let selected = this.instance?.serviceConnection === item.pk; if (items.length === 1 && !this.instance) { selected = true; }