Skip to content
Snippets Groups Projects
Commit 9623af8a authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

change title

parent af18c3c5
No related branches found
No related tags found
1 merge request!539Dev dashboards
......@@ -2,9 +2,9 @@
<!-- Dashboard -->
<nshmp-lib-ng-dashboard [sections]="sections">
<nshmp-lib-ng-dashboard-title>
USGS Earthquake
USGS Development
<br />
Development
Earthquake
<br />
Hazard Toolbox
</nshmp-lib-ng-dashboard-title>
......
......@@ -34,24 +34,16 @@ export class AppComponent {
/** Navigation list for menu */
navigationList = nav.devNavigation();
/** AWS applications */
private awsApps = nav.devAwsApps();
/** Main development applications */
private mainApps = nav.devMainApps();
sections: ApplicationSections[] = [
{
gridClass: 'grid-col-10',
sections: [
{
applications: this.mainApps.map(navigation => ({navigation})),
},
],
},
{
sections: [
{
applications: this.awsApps.map(navigation => ({navigation})),
title: 'AWS',
gridClass: 'grid-col-12 tablet-lg:grid-col-8 grid-offset-1',
},
],
},
......
......@@ -2,7 +2,7 @@
<!-- Dashboard -->
<nshmp-lib-ng-dashboard [sections]="sections">
<nshmp-lib-ng-dashboard-title>
USGS Earthquake
USGS Internal Earthquake
<br />
Hazard Toolbox:
<br />
......
......@@ -34,16 +34,17 @@ import {AuthService} from '../shared/services/auth.service';
})
export class AppComponent implements OnInit, OnDestroy {
/** Navigation list for menu */
navigationList = nav.devNavigation();
navigationList = nav.internalNavigation();
/** AWS applications */
private awsApps = nav.devAwsApps();
private awsApps = nav.internalAwsApps();
sections: ApplicationSections[] = [];
private sub: Subscription;
constructor(private authService: AuthService) {}
ngOnInit(): void {
this.sub = this.authService.isAuthorized().subscribe(() => {
this.sections = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment