Fixed getVsgTenantForSubscriber method in gui to read _id fields
Change-Id: I6d85bab93804309c353ad6c41d34178a76cd1dd7
diff --git a/xos/gui/src/app/components/vtr/vtr-dashboard.ts b/xos/gui/src/app/components/vtr/vtr-dashboard.ts
index 92e6b48..81f3d6b 100644
--- a/xos/gui/src/app/components/vtr/vtr-dashboard.ts
+++ b/xos/gui/src/app/components/vtr/vtr-dashboard.ts
@@ -66,7 +66,7 @@
private getVsgTenantForSubscriber(subscriberId: number): number {
const voltTenant = _.find(this.tenants, {subscriber_root_id: subscriberId});
- const vsgTenant = _.find(this.tenants, {subscriber_tenant: voltTenant.id});
+ const vsgTenant = _.find(this.tenants, {subscriber_tenant_id: voltTenant.id});
return vsgTenant.id;
}