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
Léo-Paul Géneau
gitlab-ce
Commits
379b8b68
Commit
379b8b68
authored
Mar 14, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes EE differences for environments index
parent
516987e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
app/assets/javascripts/environments/index.js
app/assets/javascripts/environments/index.js
+3
-0
app/assets/javascripts/environments/mixins/canary_callout_mixin.js
...s/javascripts/environments/mixins/canary_callout_mixin.js
+5
-0
No files found.
app/assets/javascripts/environments/index.js
View file @
379b8b68
import
Vue
from
'
vue
'
;
import
canaryCalloutMixin
from
'
ee_else_ce/environments/mixins/canary_callout_mixin
'
;
import
environmentsComponent
from
'
./components/environments_app.vue
'
;
import
{
parseBoolean
}
from
'
../lib/utils/common_utils
'
;
import
Translate
from
'
../vue_shared/translate
'
;
...
...
@@ -11,6 +12,7 @@ export default () =>
components
:
{
environmentsComponent
,
},
mixins
:
[
canaryCalloutMixin
],
data
()
{
const
environmentsData
=
document
.
querySelector
(
this
.
$options
.
el
).
dataset
;
...
...
@@ -32,6 +34,7 @@ export default () =>
cssContainerClass
:
this
.
cssContainerClass
,
canCreateEnvironment
:
this
.
canCreateEnvironment
,
canReadEnvironment
:
this
.
canReadEnvironment
,
...
this
.
canaryCalloutProps
,
},
});
},
...
...
app/assets/javascripts/environments/mixins/canary_callout_mixin.js
0 → 100644
View file @
379b8b68
export
default
{
computed
:
{
canaryCalloutProps
()
{},
},
};
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