Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

Commit

Permalink
(fix) : Reminds don't take you to the original post (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisrcausa authored and markharding committed Mar 27, 2017
1 parent 6f289c2 commit bdb57b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/modules/newsfeed/activity/activity.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<strong>({{entity.containerObj.name}})</strong>
</a>
<a [navPush]="components.activity"
[navParams]="{ guid: entity.guid }" class="m-date">
[navParams]="{ guid: entity.remindGuid ? entity.remindGuid : entity.guid }" class="m-date">
<span>{{entity.time_created * 1000 | date:'medium'}}</span>
</a>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/app/modules/newsfeed/activity/activity.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class Activity implements AfterViewInit, OnDestroy {
this.rawEntity = JSON.parse(JSON.stringify(entity.remind_object));

this.entity = entity.remind_object;
this.entity.remindGuid = entity.remind_object.guid;
this.entity.guid = entity.guid;
if(entity.entity_guid)
this.entity.entity_guid = entity.entity_guid;
Expand Down

0 comments on commit bdb57b8

Please sign in to comment.