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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
f6f56ddd
Commit
f6f56ddd
authored
Mar 27, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add back expandable folders behavior
parent
b46ac16c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
app/assets/javascripts/environments/components/environments_table.js
...javascripts/environments/components/environments_table.js
+9
-0
app/assets/javascripts/environments/stores/environments_store.js
...ets/javascripts/environments/stores/environments_store.js
+4
-0
No files found.
app/assets/javascripts/environments/components/environments_table.js
View file @
f6f56ddd
...
@@ -53,6 +53,15 @@ export default {
...
@@ -53,6 +53,15 @@ export default {
:can-create-deployment="canCreateDeployment"
:can-create-deployment="canCreateDeployment"
:can-read-environment="canReadEnvironment"
:can-read-environment="canReadEnvironment"
:service="service"></tr>
:service="service"></tr>
<tr v-if="model.isOpen && model.children && model.children.length > 0"
is="environment-item"
v-for="children in model.children"
:model="children"
:toggleRow="toggleRow.bind(children)"
:can-create-deployment="canCreateDeploymentParsed"
:can-read-environment="canReadEnvironmentParsed"
:service="service"></tr>
</template>
</template>
</tbody>
</tbody>
</table>
</table>
...
...
app/assets/javascripts/environments/stores/environments_store.js
View file @
f6f56ddd
...
@@ -85,4 +85,8 @@ export default class EnvironmentsStore {
...
@@ -85,4 +85,8 @@ export default class EnvironmentsStore {
this
.
state
.
stoppedCounter
=
count
;
this
.
state
.
stoppedCounter
=
count
;
return
count
;
return
count
;
}
}
toggleRow
(
name
)
{
}
}
}
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