1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: execution notification for ROLLBACK and COMMIT

This commit is contained in:
2022-02-13 10:16:01 +01:00
parent 4ed2f9a939
commit 76743e8f7c
2 changed files with 4 additions and 1 deletions

View File

@ -451,6 +451,7 @@ export default {
};
await Schema.commitTab(params);
this.addNotification({ status: 'success', message: this.$t('message.actionSuccessful', { action: 'COMMIT' }) });
}
catch (err) {
this.addNotification({ status: 'error', message: err.stack });
@ -467,6 +468,7 @@ export default {
};
await Schema.rollbackTab(params);
this.addNotification({ status: 'success', message: this.$t('message.actionSuccessful', { action: 'ROLLBACK' }) });
}
catch (err) {
this.addNotification({ status: 'error', message: err.stack });