Commit 7e217a83 authored by Marco Sehrer's avatar Marco Sehrer
Browse files

Root redirects to /collection/all

parent d9652936
......@@ -16,13 +16,9 @@ Aviator.root = '/';
Aviator.pushStateEnabled = false;
Aviator.setRoutes({
'/': 'root',
target: {
root: function(e) {
// let modalDomNode = document.getElementById('modal');
// if(modalDomNode) {
// React.unmountComponentAtNode(modalDomNode);
// }
Aviator.navigate('/collections/all');
}
},
......
......@@ -65,7 +65,7 @@ export default class CollectionTree extends React.Component {
render() {
//Fake All-Collection
let allCollection = {
label: 'All *',
label: 'All',
id: 'all',
children: [],
descendant_ids: []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment