Skip to content

Commit

Permalink
Merge pull request #99 from onepanelio/develop
Browse files Browse the repository at this point in the history
dev > master
  • Loading branch information
rushtehrani authored May 25, 2020
2 parents fa165e7 + 57d6368 commit 30a2442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a [routerLink]="['/', namespaceTracker.activeNamespace, 'secrets']">SETTINGS</a>
</div>
<div class="flex-grow-1"></div>
<div class="ml-5 font-size-regular font-roboto-bold font-white link-wrapper" [class.active]="activeRoute === 'secrets'" >
<div class="ml-5 font-size-regular font-roboto-bold font-white link-wrapper" [class.active]="activeRoute === 'docs'" >
<a target="_blank" href="https://docs.onepanel.ai">DOCS</a>
</div>
<button mat-stroked-button class="logout mr-3" (click)="logout()">LOG OUT</button>
Expand Down
3 changes: 2 additions & 1 deletion src/app/workspace/workspace-view/workspace-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ export class WorkspaceViewComponent implements OnInit, OnDestroy {
getWorkspace() {
this.workspaceService.getWorkspace(this.namespace, this.workspaceUid).subscribe(res => {
this.workspace = res;
this.workspaceUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(res.url);
// t query parameter is so we avoid caching the response.
this.workspaceUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(res.url + "?t=" + Date.now());

this.parameters = res.parameters;

Expand Down

0 comments on commit 30a2442

Please sign in to comment.