SUPPORT-8529: Добавлены исходники config-data-executor

This commit is contained in:
malkov34 2024-09-05 14:08:00 +03:00
parent 0aae3f43bb
commit 585c79d3e6

View file

@ -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);
});
} }
} }