fix: tag placeholder align (#819)
* fix: padding in navigation no-tag-placeholder * fix: lint-staged was disabled * fix: make findArray typesafe
This commit is contained in:
@@ -95,7 +95,10 @@ export class NotesViewState {
|
||||
/** A tag could have changed its relationships, so we need to reload the filter */
|
||||
this.reloadNotesDisplayOptions();
|
||||
this.reloadNotes();
|
||||
if (findInArray(tags, 'uuid', this.appState.selectedTag?.uuid)) {
|
||||
if (
|
||||
this.appState.selectedTag &&
|
||||
findInArray(tags, 'uuid', this.appState.selectedTag.uuid)
|
||||
) {
|
||||
/** Tag title could have changed */
|
||||
this.reloadPanelTitle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user