Skip to content

Commit

Permalink
fix: remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Dec 7, 2020
1 parent 7c2f71c commit a6d0319
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/assets/javascripts/ui_models/app_state.ts
Expand Up @@ -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;
}
Expand Down

0 comments on commit a6d0319

Please sign in to comment.