Merge pull request #7587 from rekonder/aj_SCI_10727

Fix side navigator update after task duplication [SCI-10727]
This commit is contained in:
ajugo 2024-05-23 11:19:49 +02:00 committed by GitHub
commit f4003f9962
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -310,6 +310,7 @@ export default {
duplicate(event, rows) {
axios.post(event.path, { my_module_ids: rows.map((row) => row.id) }).then(() => {
this.reloadingTable = true;
this.updateNavigator(true);
}).catch((error) => {
HelperModule.flashAlertMsg(error.response.data.error, 'danger');
});