Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fix links.

Brian Caof654e6728c6d
diff --git a/components/pages/login/LoginForm.js b/components/pages/login/LoginForm.js
index a05f87e87..563ba4d7d 100644
--- a/components/pages/login/LoginForm.js
+++ b/components/pages/login/LoginForm.js
@@ -26,7 +26,7 @@ export default function LoginForm() {
setClientAuthToken(token);
setUser(user);
- await router.push('/websites');
+ await router.push('/settings/websites');
},
});
};
diff --git a/components/pages/settings/users/UsersTable.js b/components/pages/settings/users/UsersTable.js
index 72abd5f80..7cd0a596e 100644
--- a/components/pages/settings/users/UsersTable.js
+++ b/components/pages/settings/users/UsersTable.js
@@ -57,13 +57,11 @@ export default function UsersTable({ columns = defaultColumns, onLoading, onAddK
row.action = (
<div className={styles.actions}>
- <Link href={`/users/${row.id}`} shallow>
- <a>
- <Button>
- <Icon icon="arrow-right" />
- Settings
- </Button>
- </a>
+ <Link href={`/settings/users/${row.id}`}>
+ <Button>
+ <Icon icon="arrow-right" />
+ Settings
+ </Button>
</Link>
</div>
);