[WIKI-556] fix : invert tracking logic #7668
This commit is contained in:
parent
e144ce8cf2
commit
7a43137620
3 changed files with 7 additions and 13 deletions
|
|
@ -58,10 +58,7 @@ const PageDetailsPage = observer(() => {
|
|||
const { error: pageDetailsError } = useSWR(
|
||||
workspaceSlug && projectId && pageId ? `PAGE_DETAILS_${pageId}` : null,
|
||||
workspaceSlug && projectId && pageId
|
||||
? () =>
|
||||
fetchPageDetails(workspaceSlug?.toString(), projectId?.toString(), pageId.toString(), {
|
||||
trackVisit: true,
|
||||
})
|
||||
? () => fetchPageDetails(workspaceSlug?.toString(), projectId?.toString(), pageId.toString())
|
||||
: null,
|
||||
{
|
||||
revalidateIfStale: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue