mirror of https://github.com/perkeep/perkeep.git
server/perkeepd/ui: perm aspect takes precedence over map aspect
This change makes the Permanode aspect come before the Map in the list of aspects. That way, if there is no specific aspect selected for a permanode, the default one should then be Permanode rather than Map. I'm not sure it's not going to break a specific workflow though. Change-Id: I3d54dc84c7f4fb313d8ed0f7285db69b4ecbf366
This commit is contained in:
parent
c698ff5add
commit
a735460c3f
|
@ -241,10 +241,10 @@ cam.IndexPage = React.createClass({
|
|||
|
||||
var generalAspects = [
|
||||
this.getSearchAspect_.bind(null, specificAspects),
|
||||
cam.PermanodeDetail.getAspect.bind(null, this.props.serverConnection, this.props.timer, this.toggleKeyNavigation_),
|
||||
cam.MapAspect.getAspect.bind(null, this.props.config,
|
||||
this.props.availWidth, this.props.availHeight - this.HEADER_HEIGHT_,
|
||||
this.updateSearchBarOnMap_, this.setPendingQuery_, this.childSearchSession_),
|
||||
cam.PermanodeDetail.getAspect.bind(null, this.props.serverConnection, this.props.timer, this.toggleKeyNavigation_),
|
||||
cam.BlobDetail.getAspect.bind(null, this.getDetailURL_, this.props.serverConnection),
|
||||
].map(getAspect).filter(goog.functions.identity);
|
||||
|
||||
|
|
Loading…
Reference in New Issue