diff --git a/matsen-tool/src/app/contacts/contacts-detail/contacts-detail.component.ts b/matsen-tool/src/app/contacts/contacts-detail/contacts-detail.component.ts index bdaa624..ae114a8 100644 --- a/matsen-tool/src/app/contacts/contacts-detail/contacts-detail.component.ts +++ b/matsen-tool/src/app/contacts/contacts-detail/contacts-detail.component.ts @@ -113,6 +113,7 @@ export class ContactsDetailComponent implements OnInit, AfterViewInit { modalRef.componentInstance.submit.subscribe((modalStatus: ModalStatus) => { if (modalStatus === ModalStatus.Submitted) { modalRef.dismiss(); + this.getContactData(); } }); } diff --git a/matsen-tool/src/app/contacts/new-contact/new-contact.component.html b/matsen-tool/src/app/contacts/new-contact/new-contact.component.html index c942c18..ed34a9a 100644 --- a/matsen-tool/src/app/contacts/new-contact/new-contact.component.html +++ b/matsen-tool/src/app/contacts/new-contact/new-contact.component.html @@ -1,5 +1,5 @@
{{ post.createdAt | date:'dd.MM.YYYY hh:mm' }}
-{{ post.ownerName }}
-{{ post.message }}
-{{ comment.createdAt | date:'dd.MM.YYYY hh:mm' }}
-{{ comment.ownerName }}
-{{ comment.message }}
-