many small fixes from Intellij analysis

This commit is contained in:
zadam
2023-05-05 23:17:23 +02:00
parent 0af6f91d21
commit 6dfc72c065
41 changed files with 73 additions and 83 deletions

View File

@@ -152,7 +152,7 @@ class NoteContext extends Component {
return resolvedNotePath;
}
/** @property {FNote} */
/** @returns {FNote} */
get note() {
if (!this.noteId || !(this.noteId in froca.notes)) {
return null;
@@ -161,7 +161,7 @@ class NoteContext extends Component {
return froca.notes[this.noteId];
}
/** @property {string[]} */
/** @returns {string[]} */
get notePathArray() {
return this.notePath ? this.notePath.split('/') : [];
}