feat: execution notification for ROLLBACK and COMMIT

This commit is contained in:
Fabio Di Stasio 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 });

View File

@ -258,7 +258,8 @@ module.exports = {
insertRow: 'Insert row | Insert rows',
commitMode: 'Commit mode',
autoCommit: 'Auto commit',
manualCommit: 'Manual commit'
manualCommit: 'Manual commit',
actionSuccessful: '{action} successful'
},
faker: {
address: 'Address',