nits, fixes
This commit is contained in:
@@ -41,15 +41,6 @@
|
||||
}
|
||||
|
||||
main {
|
||||
/* TODO */
|
||||
background-color: #30343d;
|
||||
|
||||
/* background-color: #2b2f37; */
|
||||
|
||||
/* color: #62727c;
|
||||
border: 1px solid #62727c; */
|
||||
|
||||
/* border-color: #e1e4e8;
|
||||
color: #e1e4e8; */
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -21,10 +21,6 @@
|
||||
return serverColors[i % serverColors.length];
|
||||
}
|
||||
|
||||
selectedServer.subscribe((e) => {
|
||||
console.log("selected server changed", e);
|
||||
});
|
||||
|
||||
$: serverWithSelection = $servers.map((s) => ({ ...s, isSelected: $selectedServer === s._id }))
|
||||
|
||||
onMount(async () => {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
});
|
||||
|
||||
async function saveShortcut(key: keyof SettingsData["shortcuts"], value: string) {
|
||||
const shortcuts = get(settings)['shortcuts'] || { "camera_toggle": "", "mute_toggle": "" };
|
||||
const shortcuts = get(settings)['shortcuts'];
|
||||
shortcuts[key] = value;
|
||||
settings.update((s) => ({ ...s, shortcuts }));
|
||||
await api.saveSetting("shortcuts", shortcuts);
|
||||
|
||||
Reference in New Issue
Block a user