Skip to content

Commit 3e428ef

Browse files
committed
fix: hide sync controls in SPA mode
1 parent dbb78fa commit 3e428ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/client/internals/NavControls.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import IconButton from './IconButton.vue'
1111
import MenuButton from './MenuButton.vue'
1212
import Settings from './Settings.vue'
1313
import SyncControls from './SyncControls.vue'
14-
1514
import VerticalDivider from './VerticalDivider.vue'
1615
1716
const props = defineProps({
@@ -161,7 +160,7 @@ if (__SLIDEV_FEATURE_RECORD__)
161160
{{ presenterLayout }}
162161
</IconButton>
163162

164-
<SyncControls v-if="__SLIDEV_FEATURE_PRESENTER__" />
163+
<SyncControls v-if="__SLIDEV_FEATURE_PRESENTER__ && __SLIDEV_HAS_SERVER__" />
165164

166165
<MenuButton>
167166
<template #button>

0 commit comments

Comments
 (0)