mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
sync status widget fix
This commit is contained in:
parent
db6dbc7821
commit
0de0b6fd06
@ -4,7 +4,7 @@ import options from "../services/options.js";
|
||||
import syncService from "../services/sync.js";
|
||||
|
||||
const TPL = `
|
||||
<div class="sync-status-widget icon-action">
|
||||
<div class="sync-status-widget launcher-button">
|
||||
<style>
|
||||
.sync-status-widget {
|
||||
}
|
||||
|
@ -227,7 +227,9 @@ function resetLauncher(noteId) {
|
||||
* created just to fill this user hole.
|
||||
*
|
||||
* Another use case would be for script-packages (of which only few exists) which could this way register automatically
|
||||
* into the launchbar. For such use cases this might be a usable replacement, but I'm not yet clear on that.
|
||||
* into the launchbar. For such use cases this might be a usable replacement, but it should look a bit differently:
|
||||
* - launcher should be added into the available shortcuts, not visible. Part of the reasoning is that adding them to visible
|
||||
* could mess up the layout - e.g. the sync status being below.
|
||||
*/
|
||||
function createOrUpdateScriptLauncherFromApi(opts) {
|
||||
const launcherId = opts.id || ("tb" + opts.title.replace(/[^[a-z0-9]/gi, ""));
|
||||
|
Loading…
x
Reference in New Issue
Block a user