nits, fixes

This commit is contained in:
Anton Bracke 2022-02-22 18:10:36 +01:00
parent 732acb25df
commit 6b97cbfc17
No known key found for this signature in database
GPG Key ID: B1222603899C6B25
3 changed files with 5 additions and 3 deletions

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 () => {

View File

@ -103,6 +103,7 @@
recording = false;
shortCut = [];
value = "";
dispatch("change", value);
}
function stopRecording() {

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);