Report parameters.
This commit is contained in:
1 parent
b10b490088
commit
e7fef80d79
4 files changed
+9
-17
No files matched your search
@@ -25,8 +25,8 @@ export function ReportHeader({ icon }) {
|
||||
if (!report.id) {
|
||||
create(report, {
|
||||
onSuccess: async ({ id }) => {
|
||||
router.push(`/reports/${id}`, null, { shallow: true });
|
||||
showToast({ message: formatMessage(messages.saved), variant: 'success' });
|
||||
router.push(`/reports/${id}`, null, { shallow: true });
|
||||
},
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user