mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Report parameters.
This commit is contained in:
parent
b10b490088
commit
e7fef80d79
4 changed files with 9 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue