fix(pane): reuse view panes w/ same structure

This commit is contained in:
Adam Bradley
2015-10-01 16:29:59 -05:00
parent 8a201d8959
commit 3a1fc883ff

View File

@ -265,7 +265,7 @@ class Pane {
}
showNavbar(hasNavbar) {
this.hasNavbar = hasNavbar;
this.navbar = hasNavbar;
if (!hasNavbar) {
this.renderer.setElementClass(this.elementRef, 'no-navbar', true);
}