Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gy4443
chemotion_eln_server
Commits
7e217a83
Commit
7e217a83
authored
Aug 18, 2015
by
Marco Sehrer
Browse files
Root redirects to /collection/all
parent
d9652936
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/components/App.js
View file @
7e217a83
...
...
@@ -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
'
);
}
},
...
...
app/assets/javascripts/components/CollectionTree.js
View file @
7e217a83
...
...
@@ -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
:
[]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment