Skip to content

Commit

Permalink
fix: Removed ?minimonitor=1 from code and README.
Browse files Browse the repository at this point in the history
  • Loading branch information
KvelaGorrrrnio committed Nov 9, 2021
1 parent 6fe040f commit d74b69b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions client/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,14 @@ class App extends React.Component<IAppProps> {
render() {
const urlParams = new URLSearchParams(window.location.search)
const viewId = urlParams.get('view')
const isMiniMonitor = urlParams.get('minimonitor') === '1'
return (
<div>
{!this.props.store.settings[0].serverOnline && (
<div className="server-offline">
{this.props.t('TRYING TO CONNECT TO SISYFOS SERVER')}
</div>
)}
{ (viewId === 'minimonitor' || isMiniMonitor) ? (
{ (viewId === 'minimonitor') ? (
<MiniChannels />
) : (viewId === 'mic-tally') ? (
<MicTally />
Expand Down

0 comments on commit d74b69b

Please sign in to comment.