mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(tabs): correct enableBack ref
This commit is contained in:
@@ -84,7 +84,7 @@ export class Tabs extends NavController {
|
||||
// a Tabs ViewController should not have a back button
|
||||
// enableBack back button will later be determined
|
||||
// by the active ViewController that has a navbar
|
||||
ViewController.enableBack = () => {
|
||||
viewCtrl.enableBack = () => {
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user