mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 07:13:37 +01:00
Fix issue with share url links.
This commit is contained in:
parent
35b921bdb4
commit
6ec13aef09
@ -37,6 +37,7 @@ export default function WebsiteDetails({ websiteId, token }) {
|
||||
const [eventsData, setEventsData] = useState();
|
||||
const {
|
||||
resolve,
|
||||
router,
|
||||
query: { view },
|
||||
} = usePageQuery();
|
||||
|
||||
@ -44,7 +45,7 @@ export default function WebsiteDetails({ websiteId, token }) {
|
||||
<Link
|
||||
key="back-button"
|
||||
className={styles.backButton}
|
||||
href="/website/[...id]"
|
||||
href={router.pathname}
|
||||
as={resolve({ view: undefined })}
|
||||
icon={<Arrow />}
|
||||
size="small"
|
||||
|
@ -32,6 +32,7 @@ export default function MetricsTable({
|
||||
const { startDate, endDate, modified } = dateRange;
|
||||
const {
|
||||
resolve,
|
||||
router,
|
||||
query: { url },
|
||||
} = usePageQuery();
|
||||
|
||||
@ -108,7 +109,7 @@ export default function MetricsTable({
|
||||
{limit && (
|
||||
<Link
|
||||
icon={<Arrow />}
|
||||
href="/website/[...id]"
|
||||
href={router.pathname}
|
||||
as={resolve({ view: type })}
|
||||
size="small"
|
||||
iconRight
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "umami",
|
||||
"version": "0.54.0",
|
||||
"version": "0.55.0",
|
||||
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
|
||||
"author": "Mike Cao <mike@mikecao.com>",
|
||||
"license": "MIT",
|
||||
|
Loading…
Reference in New Issue
Block a user