chore(stage-*): only show status-island in dev mode

This commit is contained in:
RainbowBird
2026-05-04 19:56:59 +08:00
parent 250e7e2eb0
commit 7edfa4291e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ watch([stream, () => vadLoaded.value], async ([s, loaded]) => {
/>
<InteractiveArea v-if="!isMobile" h="85dvh" absolute right-4 flex flex-1 flex-col max-w="500px" min-w="30%" />
<MobileInteractiveArea v-if="isMobile" @settings-open="handleSettingsOpen">
<template #status>
<template v-if="import.meta.env.DEV" #status>
<WebSocketStatusButton />
</template>
</MobileInteractiveArea>
@@ -474,7 +474,7 @@ watch([stream, () => vadLoaded.value], async ([s, loaded]) => {
'transition-opacity duration-250 ease-in-out',
]"
>
<StatusIsland ref="statusIslandRef" />
<StatusIsland v-if="import.meta.env.DEV" ref="statusIslandRef" />
<ResourceStatusIsland />
<WidgetStage
ref="widgetStageRef"