Updated webpack config
This commit is contained in:
parent
79f40f27fd
commit
9904c12746
2 changed files with 2 additions and 5 deletions
|
@ -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.removeKey);
|
||||
eventHub.$on('remove.key', this.disableKey);
|
||||
eventHub.$on('disable.key', this.disableKey);
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
@ -123,6 +123,7 @@ var config = {
|
|||
'boards',
|
||||
'commit_pipelines',
|
||||
'cycle_analytics',
|
||||
'deploy_keys',
|
||||
'diff_notes',
|
||||
'environments',
|
||||
'environments_folder',
|
||||
|
|
Loading…
Reference in a new issue