mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00:00
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:
parent
4e6460682e
commit
929b1ed3b3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue