mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 04:42:08 +01:00
[feature] get boolean from parameter
This commit is contained in:
@@ -56,6 +56,7 @@ export default function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Viewer
|
||||
showChannelName={searchParams.get("showChannelName") === "true"}
|
||||
hideNonTalking={searchParams.get("hideNonTalking") === "true"}
|
||||
clientLimit={searchParams.get("clientLimit") ? parseInt(searchParams.get("clientLimit") ?? "0") : 0}
|
||||
clients={
|
||||
|
||||
Reference in New Issue
Block a user