Skip to content

Commit

Permalink
fix: clicks regression
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Oct 5, 2021
1 parent de7c6fb commit 961ec2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/logic/nav.ts
Expand Up @@ -22,7 +22,7 @@ export const isPrintMode = computed(() => route.value.query.print !== undefined)
export const isPrintWithClicks = computed(() => route.value.query.print === 'clicks')
export const isEmbedded = computed(() => route.value.query.embedded !== undefined)
export const isPresenter = computed(() => route.value.path.startsWith('/presenter'))
export const isClicksDisabled = computed(() => isPresenter.value || !isPrintWithClicks.value)
export const isClicksDisabled = computed(() => isPresenter.value && !isPrintWithClicks.value)

export const queryClicks = useRouteQuery('clicks', '0')
export const total = computed(() => rawRoutes.length - 1)
Expand Down

0 comments on commit 961ec2a

Please sign in to comment.