Further iteration

This commit is contained in:
Zef Hemel
2023-08-30 17:25:54 +02:00
parent cbc00b73a0
commit 75da8e7ca9
18 changed files with 128 additions and 147 deletions
+2 -1
View File
@@ -204,7 +204,8 @@ export class MainUI {
editor.focus();
}}
actionButtons={[
...window.silverBulletConfig.supportOnlineMode === "true"
...!window.silverBulletConfig.syncOnly
// If we support syncOnly, don't show this toggle button
? [{
icon: RefreshCwIcon,
description: this.editor.syncMode