From 05c0d921c0ae8d96e7389f8985050f75202838ef Mon Sep 17 00:00:00 2001 From: Pheuw1 Date: Fri, 17 Mar 2023 15:06:58 +0100 Subject: [PATCH] channel id in url --- front/volume/src/App.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/volume/src/App.svelte b/front/volume/src/App.svelte index 31e7c93..e1f3d3f 100644 --- a/front/volume/src/App.svelte +++ b/front/volume/src/App.svelte @@ -167,7 +167,7 @@ let selectedChannel: ChannelsType; const handleSelectChannel = (channel: ChannelsType) => { selectedChannel = channel; - setAppState(APPSTATE.CHANNELS + "#" + channel.name); + setAppState(APPSTATE.CHANNELS + "#" + channel.id); }; // GAME