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
9904c127
Commit
9904c127
authored
May 04, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated webpack config
parent
79f40f27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
app/assets/javascripts/deploy_keys/components/app.vue
app/assets/javascripts/deploy_keys/components/app.vue
+1
-5
config/webpack.config.js
config/webpack.config.js
+1
-0
No files found.
app/assets/javascripts/deploy_keys/components/app.vue
View file @
9904c127
...
...
@@ -32,7 +32,6 @@
methods
:
{
fetchKeys
()
{
this
.
isLoading
=
true
;
this
.
store
.
keys
=
{};
this
.
service
.
getKeys
()
.
then
((
data
)
=>
{
...
...
@@ -46,9 +45,6 @@
.
then
(()
=>
this
.
fetchKeys
())
.
catch
(()
=>
new
Flash
(
'
Error enabling deploy key
'
));
},
removeKey
(
deployKey
)
{
this
.
disableKey
(
deployKey
);
},
disableKey
(
deployKey
)
{
// eslint-disable-next-line no-alert
if
(
confirm
(
'
You are going to remove this deploy key. Are you sure?
'
))
{
...
...
@@ -62,7 +58,7 @@
this
.
service
=
new
DeployKeysService
(
this
.
endpoint
);
eventHub
.
$on
(
'
enable.key
'
,
this
.
enableKey
);
eventHub
.
$on
(
'
remove.key
'
,
this
.
remov
eKey
);
eventHub
.
$on
(
'
remove.key
'
,
this
.
disabl
eKey
);
eventHub
.
$on
(
'
disable.key
'
,
this
.
disableKey
);
},
mounted
()
{
...
...
config/webpack.config.js
View file @
9904c127
...
...
@@ -123,6 +123,7 @@ var config = {
'
boards
'
,
'
commit_pipelines
'
,
'
cycle_analytics
'
,
'
deploy_keys
'
,
'
diff_notes
'
,
'
environments
'
,
'
environments_folder
'
,
...
...
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