Remove pointer reference from stashModel.getNotes()

It's not altering the model, so removing the pointer reference to
reflect that.
This commit is contained in:
Christian Rocha 2020-11-17 18:37:11 -05:00 committed by Christian Rocha
parent 4e6460682e
commit 929b1ed3b3

View file

@ -215,7 +215,7 @@ func (m stashModel) countMarkdowns(t markdownType) (found int) {
// Returns the stashed markdown notes. When the model state indicates that
// filtering is desired, this also filters and ranks the notes by the filter
// term in the filterInput field.
func (m *stashModel) getNotes() []*markdown {
func (m stashModel) getNotes() []*markdown {
if m.filterInput.Value() == "" {
return m.markdowns
}