From e0c7c6025431c9e7802d70bca4dd47327b2d5328 Mon Sep 17 00:00:00 2001 From: Zhou-Charles Date: Mon, 19 Feb 2018 09:31:00 -0800 Subject: [PATCH] em-327 added attributes to model --- src/app/models/project.ts | 10 ++++++++++ src/app/project-detail/project-detail.component.html | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/app/models/project.ts b/src/app/models/project.ts index cd084622..bf4d71f9 100644 --- a/src/app/models/project.ts +++ b/src/app/models/project.ts @@ -12,6 +12,11 @@ export class Project { openCommentPeriod: string; eacDecision: string; currentPhase: CurrentPhase; + region: string; + location: string; + projectLead: string; + responsibleEPD: string; + CELead: string; constructor(obj?: any) { this._id = obj && obj._id || null; this.code = obj && obj.code || null; @@ -23,5 +28,10 @@ export class Project { this.openCommentPeriod = obj && obj.openCommentPeriod || null; this.eacDecision = obj && obj.eacDecision || null; this.currentPhase = obj && obj.currentPhase || null; + this.region = obj && obj.region || null; + this.location = obj && obj.location || null; + this.projectLead = obj && obj.projectLead || null; + this.responsibleEPD = obj && obj.responsibleEPD || null; + this.CELead = obj && obj.CELead || null; } } diff --git a/src/app/project-detail/project-detail.component.html b/src/app/project-detail/project-detail.component.html index 00a51eac..7508a800 100644 --- a/src/app/project-detail/project-detail.component.html +++ b/src/app/project-detail/project-detail.component.html @@ -19,9 +19,9 @@

Project Activities & Updates