From aa53dc0f667ebf9e54e232f55e0fa98fe763e575 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 5 May 2017 16:30:34 -0400 Subject: [PATCH 1/2] Add missing colon onto bindings --- static/directives/credentials-dialog.html | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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 }}:
      From 3d1197c6afb6fd7a01ff2e0710e38daf05b5dcdd Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 5 May 2017 16:31:04 -0400 Subject: [PATCH 2/2] Fix NPE in cor tab panel --- static/js/directives/ui/cor-tabs/cor-tab-panel.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {