Skip to content

Commit

Permalink
Merge pull request #53 from UST-QuAntiL/bugfix/default-template-sideb…
Browse files Browse the repository at this point in the history
…ar-reload

default template sidebar reload
  • Loading branch information
infacc authored Aug 16, 2023
2 parents a8bd3f1 + 2154e36 commit ce492bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/app/components/navbar/navbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
</a>

<ng-container *ngIf="(currentExperiment|async) != null">
<a class="navigation-link" mat-button [routerLink]="['/experiments', (experimentId|async), 'info']"
[queryParams]="{template: routeTemplateId}" routerLinkActive="active">
<a class="navigation-link" mat-button [routerLink]="['/experiments', (experimentId|async), 'info']" routerLinkActive="active">
Info
</a>
<a class="navigation-link" mat-button [routerLink]="['/experiments', (experimentId|async), 'workspace']"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class PluginSidebarComponent implements OnInit, OnDestroy {
this.switchActiveArea("plugins");
}
}
this.loadActiveTemplateFromId(this.templateId);
this.loadActiveTemplateFromId(this.templateId ?? this.defaultTemplateId);
});

this.registry.resolveRecursiveRels([["plugin", "collection"]]).then((apiLink) => {
Expand Down

0 comments on commit ce492bc

Please sign in to comment.