Report parameters.

This commit is contained in:
Mike Cao committed 2023-06-14 23:48:11 -07:00
1 parent b10b490088
commit e7fef80d79
4 files changed
+9 -17

No files matched your search

+1 -1
View File
@@ -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 {