diff --git a/index-build-debug.html b/index-build-debug.html new file mode 100644 index 00000000..7e27801b --- /dev/null +++ b/index-build-debug.html @@ -0,0 +1,43 @@ + + +
+ + + + + + + + + + + diff --git a/src/ui/web/session/SyncStatusBar.js b/src/ui/web/session/SyncStatusBar.js index 08ab9955..792aaa24 100644 --- a/src/ui/web/session/SyncStatusBar.js +++ b/src/ui/web/session/SyncStatusBar.js @@ -11,7 +11,8 @@ export default class SyncStatusBar extends TemplateView { "SyncStatusBar_shown": true, }}, [ vm => vm.status, - t.if(vm => !vm.isSyncing, t => t.button({onClick: () => vm.trySync()}, "Try syncing")) + t.if(vm => !vm.isSyncing, t => t.button({onClick: () => vm.trySync()}, "Try syncing")), + window.DEBUG ? t.button({id: "showlogs"}, "Show logs") : "" ]); } }