Skip to content

Commit f1fb0c6

Browse files
ntachevantacheva
authored and
ntacheva
committed
chore(aiprompt): code fix
1 parent 44b7497 commit f1fb0c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/aiprompt/templates.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The Prompt view of the AIPrompt renders any suggestions passed to the `PromptSug
2525
<PromptSuggestionItemTemplate>
2626
<div @onclick="@OnSuggestionClick" class="my-custom-suggestion-item">
2727
<TelerikSvgIcon Icon="@SvgIcon.Clipboard" />
28-
<span class="my-custom-suggestion-item-text">@context</span>
28+
<span class="my-custom-suggestion-item-text">@context.Suggestion</span>
2929
</div>
3030
</PromptSuggestionItemTemplate>
3131
</TelerikAIPrompt>
@@ -71,4 +71,4 @@ The Prompt view of the AIPrompt renders any suggestions passed to the `PromptSug
7171

7272
## See Also
7373

74-
* [Views Templates]({%slug aiprompt-views-templates%})
74+
* [Views Templates]({%slug aiprompt-views-templates%})

0 commit comments

Comments
 (0)