fixed createDeploy acl
This commit is contained in:
parent
9d1b2eaaf7
commit
1d5cf129dd
@ -123,7 +123,7 @@
|
||||
App.ui.notify(App.i18n.get("A deploy is already in progress, please wait until finishes."), "warning");
|
||||
} else {
|
||||
UIkit.modal.confirm(App.i18n.get("Triggering a new Drone deploy. Are you sure?<br><br>Using build: #") + $this.build, function() {
|
||||
App.callmodule('drone:createDeploy', $this.build).then(function(data) {
|
||||
App.callmodule('drone:createDeploy', $this.build, 'manage.deploy').then(function(data) {
|
||||
if (!data || !data.result || data.result.error) {
|
||||
if (data && data.result && data.result.error) {
|
||||
App.ui.notify(App.i18n.get(data.result.error), "danger");
|
||||
|
Loading…
Reference in New Issue
Block a user