diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 135690b..1ff3d19 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -127,14 +127,18 @@ export class AppComponent implements OnInit, OnDestroy { this.buildMenu(); this.loading = false; } else { + this.stakeholder = null; LinksResolver.resetProperties(); this.navigateToError(); this.buildMenu(); this.loading = false; } }, error => { + this.stakeholder = null; LinksResolver.resetProperties(); - this.navigateToError(); + if(error.status === 404) { + this.navigateToError(); + } this.buildMenu(); this.loading = false; })); diff --git a/src/app/manageStakeholders/manageStakeholders.component.css b/src/app/manageStakeholders/manageStakeholders.component.css index 3d36bda..41f6241 100644 --- a/src/app/manageStakeholders/manageStakeholders.component.css +++ b/src/app/manageStakeholders/manageStakeholders.component.css @@ -1,5 +1,5 @@ .uk-card { - min-height: 150px; + min-height: 230px; } .uk-card-body { diff --git a/src/app/manageStakeholders/manageStakeholders.component.html b/src/app/manageStakeholders/manageStakeholders.component.html index 809fb66..6c5e1ff 100644 --- a/src/app/manageStakeholders/manageStakeholders.component.html +++ b/src/app/manageStakeholders/manageStakeholders.component.html @@ -1,13 +1,13 @@
-
+
@@ -29,7 +29,7 @@
Profile Templates
-
@@ -42,7 +42,7 @@
Profiles
-
@@ -109,7 +109,7 @@
{{stakeholder.name}}
-