Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
42f31993
Commit
42f31993
authored
Jun 21, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Description of the issue according to discussions in the CE MR
parent
da15ef7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
app/assets/javascripts/groups/stores/groups_store.js
app/assets/javascripts/groups/stores/groups_store.js
+1
-3
No files found.
app/assets/javascripts/groups/stores/groups_store.js
View file @
42f31993
...
...
@@ -39,7 +39,6 @@ export default class GroupsStore {
this
.
state
.
pageInfo
=
paginationInfo
;
}
// Here be dragons
buildTree
(
rawGroups
,
parentGroup
)
{
const
groups
=
this
.
decorateGroups
(
rawGroups
);
const
tree
=
{};
...
...
@@ -69,8 +68,7 @@ export default class GroupsStore {
// e.g. If this group is `one / two / three` we are going to put it inside `one`
orphans
.
push
(
currentGroup
);
// Add
// Lo metemos a tree para conservar el orden original
// Add to tree to preserve original order
tree
[
`id
${
currentGroup
.
id
}
`
]
=
currentGroup
;
}
}
else
{
...
...
Write
Preview
Markdown
is supported
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