nits, fixes

This commit is contained in:
Anton Bracke
2022-02-22 18:10:36 +01:00
parent 732acb25df
commit 6b97cbfc17
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ export function emitMuteToggle() {
throw new Error("Main window not found");
}
appView.webContents.send("app:on-camera-toggle");
appView.webContents.send("app:on-mute-toggle");
}
export function emitCameraToggle() {
@@ -22,7 +22,7 @@ export function emitCameraToggle() {
throw new Error("Main window not found");
}
appView.webContents.send("app:on-mute-toggle");
appView.webContents.send("app:on-camera-toggle");
}
export default () => {
@@ -103,6 +103,7 @@
recording = false;
shortCut = [];
value = "";
dispatch("change", value);
}
function stopRecording() {
+2 -1
View File
@@ -2,7 +2,7 @@
import { onDestroy, onMount } from "svelte";
import { useParams } from "svelte-navigator";
import { selectServer, servers } from "~/store";
import { selectServer, servers, selectedServer } from "~/store";
import { api } from "~/lib/ipc";
const params = useParams();
@@ -17,6 +17,7 @@
onDestroy(async () => {
await api.showLocalApp();
$selectedServer = "";
});
$: server = $servers.find(({ _id }) => _id === $params.id);