From 6e640d8a3582929c10114c9abbc50e8888050b28 Mon Sep 17 00:00:00 2001 From: HeavenVR Date: Wed, 14 Oct 2026 12:26:41 +0200 Subject: [PATCH] fix: hide live control button on public shares The realtime gateway rejects public-share callers with a 401, so the live button on a public share could never connect. It was never meant to ship yet; it came along with the shared control component. Drop the live snippet from the public share ControlView. The LiveControlModule branch is left in place so the button can be restored once the gateway supports public shares. Closes #242 --- src/routes/shares/public/[shareId=guid]/ControlView.svelte | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/routes/shares/public/[shareId=guid]/ControlView.svelte b/src/routes/shares/public/[shareId=guid]/ControlView.svelte index e3a9cb81..e4004b67 100644 --- a/src/routes/shares/public/[shareId=guid]/ControlView.svelte +++ b/src/routes/shares/public/[shareId=guid]/ControlView.svelte @@ -2,7 +2,6 @@ import { HubConnectionState } from '@microsoft/signalr'; import type { PublicShareResponse } from '#lib/api/index.js'; import ClassicControlModule from '#lib/components/ControlModules/ClassicControlModule.svelte'; - import LiveButton from '#lib/components/ControlModules/LiveButton.svelte'; import LiveControlModule from '#lib/components/ControlModules/LiveControlModule.svelte'; import ShockerCard from '#lib/components/ControlModules/ShockerCard.svelte'; import { getPauseReason } from '#lib/utils/index.js'; @@ -143,11 +142,6 @@ isPaused={shocker.paused !== 0} pauseReason={getPauseReason(shocker.paused)} > - {#snippet live()} - {#if shocker.permissions.live} - - {/if} - {/snippet} {#if isShockerLiveActive && liveState && liveConn} {:else}