fix: demo mode always on on loading config
This commit is contained in:
@@ -118,7 +118,7 @@ export async function create(params: {
|
|||||||
ip: params.ip,
|
ip: params.ip,
|
||||||
port: params.port,
|
port: params.port,
|
||||||
deviceId: params.deviceId,
|
deviceId: params.deviceId,
|
||||||
mode: params.demo ? DSPMode.Demo: DSPMode.Normal,
|
mode: params.demo,
|
||||||
isConnecting: false,
|
isConnecting: false,
|
||||||
pollingPaused: true,
|
pollingPaused: true,
|
||||||
state: snapshot.state,
|
state: snapshot.state,
|
||||||
|
|||||||
Reference in New Issue
Block a user