SUPPORT-8529: Добавлены исходники config-data-executor
This commit is contained in:
parent
0aae3f43bb
commit
585c79d3e6
1 changed files with 1 additions and 8 deletions
|
|
@ -37,14 +37,7 @@ export class ConfigExecuteBtn extends AbstractButton {
|
||||||
.map(id => id.trim().replace(/"/g, ''));
|
.map(id => id.trim().replace(/"/g, ''));
|
||||||
|
|
||||||
return this.script.callConfigExecutor(this.methodPath, ids, true)
|
return this.script.callConfigExecutor(this.methodPath, ids, true)
|
||||||
.then(response => {
|
.catch(error => Promise.reject(error));
|
||||||
console.log("Успешное выполнение:", response);
|
|
||||||
return response;
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
console.error("Ошибка при выполнении скрипта:", error);
|
|
||||||
return Promise.reject(error);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue