diff --git a/static/directives/credentials-dialog.html b/static/directives/credentials-dialog.html index b2bef307d..d5c45b42e 100644 --- a/static/directives/credentials-dialog.html +++ b/static/directives/credentials-dialog.html @@ -9,27 +9,27 @@ - + {{ secretTitle }} - + Kubernetes Secret - + rkt Configuration - + Docker Login - + Docker Configuration - + Mesos Credentials @@ -41,7 +41,7 @@ - +
@@ -51,7 +51,7 @@
- +
First, download the Kubernetes pull secret for the {{ entityTitle }}:
    @@ -85,7 +85,7 @@ spec:
- +
First, download the Docker credentials file as a bundle:
    @@ -124,7 +124,7 @@ spec:
- +
First, download the rkt credentials file for the {{ entityTitle }}:
    @@ -139,13 +139,13 @@ spec:
    - +
    Enter the following command on the command line:
    - +
    First, download the Docker credentials file for the {{ entityTitle }}:
      diff --git a/static/js/directives/ui/cor-tabs/cor-tab-panel.component.ts b/static/js/directives/ui/cor-tabs/cor-tab-panel.component.ts index 834121f28..a427989f4 100644 --- a/static/js/directives/ui/cor-tabs/cor-tab-panel.component.ts +++ b/static/js/directives/ui/cor-tabs/cor-tab-panel.component.ts @@ -40,7 +40,9 @@ export class CorTabPanelComponent implements OnDestroy { } public ngOnDestroy(): void { - this.currentTabHandler.dispose(); + if (this.currentTabHandler) { + this.currentTabHandler.dispose(); + } } public tabClicked(tab: CorTabComponent): void {