Merge branch 'stable'

# Conflicts:
#	src/public/app/widgets/attribute_widgets/attribute_detail.js
This commit is contained in:
zadam 2022-10-15 12:03:03 +02:00
commit 4012ec7498
2 changed files with 3 additions and 2 deletions

View File

@ -236,7 +236,8 @@ const ATTR_HELP = {
See <a href="https://github.com/zadam/trilium/wiki/Default-note-title">wiki with details</a>, API docs for <a href="https://zadam.github.io/trilium/backend_api/Note.html">parentNote</a> and <a href="https://day.js.org/docs/en/display/format">now</a> for details.`,
"template": "This note will appear in the selection of available template when creating new note",
"toc": "<code>#toc</code> or <code>#toc=show</code> will force the Table of Contents to be shown, <code>#toc=hide</code> will force hiding it. If the label doesn't exist, the global setting is observed",
"color": "defines color of the note in note tree, links etc. Use any valid CSS color value like 'red' or #a13d5f"
"color": "defines color of the note in note tree, links etc. Use any valid CSS color value like 'red' or #a13d5f",
"keyboardShortcut": "Defines a keyboard shortcut which will immediately jump to this note. Example: 'ctrl+alt+e'. Requires frontend reload for the change to take effect."
},
"relation": {
"runOnNoteCreation": "executes when note is created on backend",

View File

@ -93,7 +93,7 @@ export default class BacklinksWidget extends NoteContextAwareWidget {
return;
}
this.$ticker.toggle(true);
this.toggle(true);
this.$count.text(
`${resp.count} backlink`
+ (resp.count === 1 ? '' : 's')