From c7c01dc35e2782cd95b9ba4da8b1f8e57bc0ccff Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 21 Sep 2021 16:58:25 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20host=20set=20reconciliati?= =?UTF-8?q?on=20on=20targets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/admin/app/components/form/target/add-host-sets/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/admin/app/components/form/target/add-host-sets/index.js b/ui/admin/app/components/form/target/add-host-sets/index.js index f49dda570..eb0f5e246 100644 --- a/ui/admin/app/components/form/target/add-host-sets/index.js +++ b/ui/admin/app/components/form/target/add-host-sets/index.js @@ -29,7 +29,7 @@ export default class FormTargetAddHostSetsComponent extends Component { get filteredHostSets() { // Get IDs for host sets already added to the current target const alreadyAddedHostSetIDs = this.args.model.host_sets.map( - ({ host_set_id }) => host_set_id + ({ host_source_id }) => host_source_id ); const notAddedHostSets = this.args.hostSets.filter( ({ id }) => !alreadyAddedHostSetIDs.includes(id)