Skip to content

Commit

Permalink
Merge pull request #385 from NickPhura/PRC-1029-2
Browse files Browse the repository at this point in the history
PRC-1029-2: Remove remaining decision description code.
  • Loading branch information
NickPhura authored Feb 25, 2019
2 parents 97863ef + 324008f commit 45d3af7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/models/decision.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export class Decision {
_addedBy: string; // objectid -> User
_application: string; // objectid -> Application
name: string;
description: string = null;

// associated data
documents: Array<Document> = [];
Expand All @@ -16,11 +15,6 @@ export class Decision {
this._application = obj && obj._application || null;
this.name = obj && obj.name || null;

// replace \\n (JSON format) with newlines
if (obj && obj.description) {
this.description = obj.description.replace(/\\n/g, '\n');
}

// copy documents
if (obj && obj.documents) {
for (const doc of obj.documents) {
Expand Down

0 comments on commit 45d3af7

Please sign in to comment.