Skip to content

Commit

Permalink
fix: Syncs renderFlair method to Obsidian's
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed May 15, 2024
1 parent 366f9e1 commit c2b3209
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/suggester/suggester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ export abstract class FuzzyInputSuggest<T> extends AbstractInputSuggest<

this.renderTitle(content.createDiv("suggestion-title"), result);
this.renderNote?.(content.createDiv("suggestion-note"), result);
this.renderFlair?.(content.createDiv("suggestion-aux"), result);
this.renderFlair?.(
el.createDiv("suggestion-aux").createDiv("suggestion-flair"),
result
);
}

renderMatches(
Expand Down

0 comments on commit c2b3209

Please sign in to comment.