mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
fix(pane): reuse view panes w/ same structure
This commit is contained in:
@ -265,7 +265,7 @@ class Pane {
|
||||
}
|
||||
|
||||
showNavbar(hasNavbar) {
|
||||
this.hasNavbar = hasNavbar;
|
||||
this.navbar = hasNavbar;
|
||||
if (!hasNavbar) {
|
||||
this.renderer.setElementClass(this.elementRef, 'no-navbar', true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user