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();
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
}
|
||||
|
||||
.no-tags-placeholder {
|
||||
padding: 0px 12px;
|
||||
padding: 0px 14px;
|
||||
font-size: 12px;
|
||||
opacity: 0.4;
|
||||
margin-top: -5px;
|
||||
|
||||
Reference in New Issue
Block a user