mirror of https://github.com/Fabio286/antares.git
feat: execution notification for ROLLBACK and COMMIT
This commit is contained in:
parent
4ed2f9a939
commit
76743e8f7c
|
@ -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 });
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue