[bugfix,view][xs]: set default view in DataExplorer to first view if no currentView specified.
This commit is contained in:
@@ -221,6 +221,8 @@ my.DataExplorer = Backbone.View.extend({
|
|||||||
}
|
}
|
||||||
if (this.state.get('currentView')) {
|
if (this.state.get('currentView')) {
|
||||||
this.updateNav(this.state.get('currentView'));
|
this.updateNav(this.state.get('currentView'));
|
||||||
|
} else {
|
||||||
|
this.updateNav(this.pageViews[0].id);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.router = new Backbone.Router();
|
this.router = new Backbone.Router();
|
||||||
|
|||||||
Reference in New Issue
Block a user