fix: remove unused method

This commit is contained in:
Baptiste Grob
2020-12-07 15:17:28 +01:00
parent 7c2f71c17b
commit a6d0319fb7

View File

@@ -375,17 +375,6 @@ export class AppState {
}) as SNTag[]
}
/** Returns the notes this tag references */
public getTagNotes(tag: SNTag) {
if (tag.isSmartTag()) {
return this.application.notesMatchingSmartTag(tag as SNSmartTag);
} else {
return this.application.referencesForItem(tag).filter((ref) => {
return ref.content_type === ContentType.Note;
}) as SNNote[]
}
}
public getSelectedTag() {
return this.selectedTag;
}