Fix project export success flash [SCI-10525]

This commit is contained in:
sboursen-scinote 2024-03-27 13:31:29 +01:00
parent 182a2e8935
commit c6d0f0af99

View file

@ -337,7 +337,7 @@ export default {
project_folder_ids: rows.filter((row) => row.folder).map((row) => row.id) project_folder_ids: rows.filter((row) => row.folder).map((row) => row.id)
}).then((response) => { }).then((response) => {
this.reloadingTable = true; this.reloadingTable = true;
HelperModule.flashAlertMsg(response.data.message, 'success'); HelperModule.flashAlertMsg(response.data.flash, 'success');
}).catch((error) => { }).catch((error) => {
HelperModule.flashAlertMsg(error.response.data.error, 'danger'); HelperModule.flashAlertMsg(error.response.data.error, 'danger');
}); });