0)"
+
0)" [class.stakeholderPage]="isFrontPage">
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index e759cd4..9e749c1 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -81,9 +81,9 @@ export class AppComponent implements OnInit, OnDestroy {
@HostListener('window:resize', ['$event'])
onResize(event) {
- if (this.layoutService.isSmallScreen && event.target.innerWidth > 1219) {
+ if (this.layoutService.isSmallScreen && event.target.innerWidth > 640) {
this.layoutService.setSmallScreen(false);
- } else if (!this.layoutService.isSmallScreen && event.target.innerWidth < 1219) {
+ } else if (!this.layoutService.isSmallScreen && event.target.innerWidth <= 640) {
this.layoutService.setSmallScreen(true);
this.layoutService.setOpen(false);
}
@@ -112,8 +112,8 @@ export class AppComponent implements OnInit, OnDestroy {
this.route.queryParams.subscribe(params => {
this.isViewPublic = (params['view'] == 'public');
});
- this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth < 1219));
- this.layoutService.setOpen(!(this.innerWidth && this.innerWidth < 1219));
+ this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth <= 640));
+ this.layoutService.setOpen(!(this.innerWidth && this.innerWidth <= 640));
this.subscriptions.push(this.params.subscribe(params => {
if (this.paramsResolved) {
this.loading = true;
@@ -158,7 +158,7 @@ export class AppComponent implements OnInit, OnDestroy {
} else {
LinksResolver.resetProperties();
this.stakeholderService.setStakeholder(null);
- this.layoutService.setOpen(!(this.innerWidth && this.innerWidth < 1219));
+ this.layoutService.setOpen(!(this.innerWidth && this.innerWidth <= 640));
this.stakeholder = null;
this.buildMenu();
this.loading = false;
@@ -387,8 +387,8 @@ export class AppComponent implements OnInit, OnDestroy {
this.specialSideBarMenuItem = null;
if (Session.isPortalAdministrator(this.user)) {
this.adminMenuItems.push(new MenuItem("stakeholders", "Manage profiles", "", "/admin", false, [], [], {}, {name: 'settings'}));
- this.adminMenuItems.push(new MenuItem("super_admin", "Super Admin Options", "", "/admin/admin-tools/portals", false, [], [], {}, {name: 'settings'}));
- this.adminMenuItems.push(new MenuItem("stakeholders", "Monitor Options", "", "/admin/monitor/admin-tools/pages", false, [], [], {}, {name: 'settings'}));
+ this.adminMenuItems.push(new MenuItem("super_admin", "Super Admin Options", "", "/admin/admin-tools/portals", false, [], [], {}, {name: 'settings'}, null, null, 'admin/admin-tools'));
+ this.adminMenuItems.push(new MenuItem("stakeholders", "Monitor Options", "", "/admin/monitor/admin-tools/pages", false, [], [], {}, {name: 'settings'}, null, null, 'admin/monitor/admin-tools'));
}
}
}
diff --git a/src/app/general/edit-stakeholder/edit-stakeholder.component.ts b/src/app/general/edit-stakeholder/edit-stakeholder.component.ts
index 9ddb956..4516bf1 100644
--- a/src/app/general/edit-stakeholder/edit-stakeholder.component.ts
+++ b/src/app/general/edit-stakeholder/edit-stakeholder.component.ts
@@ -71,7 +71,7 @@ declare var UIkit;
@@ -81,7 +81,7 @@ declare var UIkit;