From d74b69b73452ca74b97b8f72e35522ad774cce78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Frederik=20J=C3=B8rgensen?= Date: Tue, 9 Nov 2021 15:58:05 +0100 Subject: [PATCH] fix: Removed ?minimonitor=1 from code and README. --- README.md | 6 +----- client/components/App.tsx | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1ba79010..eb9ef181 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,7 @@ The Advanced channelstrip has all the features the seleced Mixer Protol supports ### If you need a MiniMonitorView for a client: -Run webpage with either - -``` -localhost/?minimonitor=1 -``` +Run webpage with ``` localhost/?view=minimonitor diff --git a/client/components/App.tsx b/client/components/App.tsx index 35b494ae..21293f22 100644 --- a/client/components/App.tsx +++ b/client/components/App.tsx @@ -111,7 +111,6 @@ class App extends React.Component { render() { const urlParams = new URLSearchParams(window.location.search) const viewId = urlParams.get('view') - const isMiniMonitor = urlParams.get('minimonitor') === '1' return (
{!this.props.store.settings[0].serverOnline && ( @@ -119,7 +118,7 @@ class App extends React.Component { {this.props.t('TRYING TO CONNECT TO SISYFOS SERVER')}
)} - { (viewId === 'minimonitor' || isMiniMonitor) ? ( + { (viewId === 'minimonitor') ? ( ) : (viewId === 'mic-tally') ? (