mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 08:18:34 +00:00
feat(GODT-3121): adds KB suggestion scoring.
This commit is contained in:
@ -69,7 +69,7 @@ func NewShowMainWindowEvent() *StreamEvent {
|
||||
func NewRequestKnowledgeBaseSuggestionsEvent(suggestions kb.ArticleList) *StreamEvent {
|
||||
s := xslices.Map(
|
||||
suggestions,
|
||||
func(article kb.Article) *KnowledgeBaseSuggestion {
|
||||
func(article *kb.Article) *KnowledgeBaseSuggestion {
|
||||
return &KnowledgeBaseSuggestion{Url: article.URL, Title: article.Title}
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user