diff --git a/app/assets/javascripts/ui_models/app_state.ts b/app/assets/javascripts/ui_models/app_state.ts index 9a08616e7..f3d83377f 100644 --- a/app/assets/javascripts/ui_models/app_state.ts +++ b/app/assets/javascripts/ui_models/app_state.ts @@ -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; }