mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-17 12:10:39 +01:00
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);
|
await Schema.commitTab(params);
|
||||||
|
this.addNotification({ status: 'success', message: this.$t('message.actionSuccessful', { action: 'COMMIT' }) });
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
this.addNotification({ status: 'error', message: err.stack });
|
this.addNotification({ status: 'error', message: err.stack });
|
||||||
@ -467,6 +468,7 @@ export default {
|
|||||||
};
|
};
|
||||||
|
|
||||||
await Schema.rollbackTab(params);
|
await Schema.rollbackTab(params);
|
||||||
|
this.addNotification({ status: 'success', message: this.$t('message.actionSuccessful', { action: 'ROLLBACK' }) });
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
this.addNotification({ status: 'error', message: err.stack });
|
this.addNotification({ status: 'error', message: err.stack });
|
||||||
|
@ -258,7 +258,8 @@ module.exports = {
|
|||||||
insertRow: 'Insert row | Insert rows',
|
insertRow: 'Insert row | Insert rows',
|
||||||
commitMode: 'Commit mode',
|
commitMode: 'Commit mode',
|
||||||
autoCommit: 'Auto commit',
|
autoCommit: 'Auto commit',
|
||||||
manualCommit: 'Manual commit'
|
manualCommit: 'Manual commit',
|
||||||
|
actionSuccessful: '{action} successful'
|
||||||
},
|
},
|
||||||
faker: {
|
faker: {
|
||||||
address: 'Address',
|
address: 'Address',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user