Skip to content

Commit

Permalink
Merge pull request #7 from DreaminDani/help-closed-by-default
Browse files Browse the repository at this point in the history
make help panel closed by default
  • Loading branch information
owilliams320 authored Mar 25, 2024
2 parents b1ce23b + fc37c3b commit 728b70b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class AppComponent {
sectionParentRoute?: string;
forcedOpen!: boolean;

helpOpen = true;
helpOpen = false;
helpDocked = true;
mainSectionContained = true;
disableEditor = false;
Expand Down Expand Up @@ -167,11 +167,11 @@ export class AppComponent {
localStorage.getItem('app-preference-open') || 'false'
);
}

setContainedPage(url: string) {
// List of page URLs that should NOT show the contained state
const barePages = [
'/',
'/',
'/environments/*',
'/environments/**/create',
'/environments/*/compute-groups',
Expand Down Expand Up @@ -203,7 +203,7 @@ export class AppComponent {
this.cdr.detectChanges();
}

supportRoutes = {
supportRoutes = {
label: 'Docs & support',
icon: 'school',

Expand Down Expand Up @@ -278,7 +278,7 @@ export class AppComponent {
{
label: 'Docs & support',
icon: 'school',

children: [
{
path: '/learn',
Expand All @@ -295,7 +295,7 @@ export class AppComponent {
],
}
],

},
environments: {
path: '/environments/**',
Expand Down Expand Up @@ -349,7 +349,7 @@ export class AppComponent {
icon: 'settings',
label: 'Settings',
},
{...this.supportRoutes}
{ ...this.supportRoutes }
],
},
consumption: {
Expand Down

0 comments on commit 728b70b

Please sign in to comment.