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
014b87fc
Commit
014b87fc
authored
Jun 02, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflicts for environment code
parent
4acd5035
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
app/assets/javascripts/environments/stores/environments_store.js
...ets/javascripts/environments/stores/environments_store.js
+0
-4
spec/javascripts/environments/environments_store_spec.js
spec/javascripts/environments/environments_store_spec.js
+3
-3
No files found.
app/assets/javascripts/environments/stores/environments_store.js
View file @
014b87fc
...
...
@@ -223,14 +223,10 @@ export default class EnvironmentsStore {
return
updatedEnvironments
;
}
<<<<<<<
HEAD
=======
getOpenFolders
()
{
const
environments
=
this
.
state
.
environments
;
return
environments
.
filter
(
env
=>
env
.
isFolder
&&
env
.
isOpen
);
}
>>>>>>>
upstream
/
master
}
spec/javascripts/environments/environments_store_spec.js
View file @
014b87fc
...
...
@@ -157,7 +157,6 @@ describe('Store', () => {
});
});
<<<<<<<
HEAD
describe
(
'
deploy boards
'
,
()
=>
{
beforeEach
(()
=>
{
const
environment
=
{
...
...
@@ -177,14 +176,15 @@ describe('Store', () => {
it
(
'
should store deploy board data for given environment id
'
,
()
=>
{
store
.
storeDeployBoard
(
1
,
deployBoardMockData
);
expect
(
store
.
state
.
environments
[
0
].
deployBoardData
).
toEqual
(
deployBoardMockData
);
=======
});
});
describe
(
'
getOpenFolders
'
,
()
=>
{
it
(
'
should return open folder
'
,
()
=>
{
store
.
storeEnvironments
(
serverData
);
store
.
toggleFolder
(
store
.
state
.
environments
[
1
]);
expect
(
store
.
getOpenFolders
()[
0
]).
toEqual
(
store
.
state
.
environments
[
1
]);
>>>>>>>
upstream
/
master
});
});
});
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