Author SHA1 Message Date
LucasDLTG 6806a86114 fix: restore dsp from file was always creating demo 2026-10-30 18:18:26 +01:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -46,6 +46,7 @@ export async function restoreDSPs(
});
return restored;
}
export async function addDSP(
setDsps: SetDsps,
setSelected: React.Dispatch<React.SetStateAction<number | null>>,
+1 -1
View File
@@ -118,7 +118,7 @@ export async function create(params: {
ip: params.ip,
port: params.port,
deviceId: params.deviceId,
mode: params.demo ? DSPMode.Demo: DSPMode.Normal,
mode: params.demo,
isConnecting: false,
pollingPaused: true,
state: snapshot.state,