Skip to content
Snippets Groups Projects
Commit 9904c127 authored by Phil Hughes's avatar Phil Hughes
Browse files

Updated webpack config

parent 79f40f27
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -32,7 +32,6 @@
methods: {
fetchKeys() {
this.isLoading = true;
this.store.keys = {};
 
this.service.getKeys()
.then((data) => {
Loading
Loading
@@ -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?')) {
Loading
Loading
@@ -62,7 +58,7 @@
this.service = new DeployKeysService(this.endpoint);
 
eventHub.$on('enable.key', this.enableKey);
eventHub.$on('remove.key', this.removeKey);
eventHub.$on('remove.key', this.disableKey);
eventHub.$on('disable.key', this.disableKey);
},
mounted() {
Loading
Loading
Loading
Loading
@@ -123,6 +123,7 @@ var config = {
'boards',
'commit_pipelines',
'cycle_analytics',
'deploy_keys',
'diff_notes',
'environments',
'environments_folder',
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment