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 e59d70fe4..dc24c39b0 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
@@ -15,11 +15,12 @@ import { CorTabCurrentHandler, LocationCurrentTabHandler, CookieCurrentTabHandle
}
})
export class CorTabPanelComponent implements OnDestroy {
- // If 'true', the currently selected tab will be remembered via a cookie and not the page URL.
+ // If supplied, the currently selected tab will be remembered via the named cookie and not
+ // the page URL.
@Input('@') public rememberCookie: string;
// If 'true', the tabs will be displayed vertically, as opposed to horizontally.
- @Input('@') public verticalTabs: string;
+ @Input('<') public verticalTabs: boolean;
// The tabs under this tabs component.
private tabs: CorTabComponent[] = [];
@@ -52,7 +53,7 @@ export class CorTabPanelComponent implements OnDestroy {
* isVertical returns true if the tabs in this panel are displayed vertically.
*/
public isVertical(): boolean {
- return this.verticalTabs == 'true';
+ return this.verticalTabs;
}
public tabClicked(tab: CorTabComponent): void {