fixed creating csv

This commit is contained in:
2024-09-27 12:27:54 +02:00
parent bbc34bcfc0
commit 8a2b8c0b20
2 changed files with 19 additions and 2 deletions
@@ -98,7 +98,7 @@ Vue.component('warehouse-e-shop-order', {
const response = await axios.post(`${window['TT_CONFIG']['BASE_PATH']}/WarehouseEShopOrder/CSVExportNewOrdersMarkAccepted`);
if (response.data.message) {
window.notify('success', response.data.message);
window.notify(response.data.success === true ? 'success' : 'error', response.data.message);
return;
}