https://discord.umbraco.com logo
#social
Title
# social
d

Dave de Moel

09/24/2021, 11:33 AM
You can just do this in your view:
@await Component.InvokeAsync(block.Content.ContentType.Alias, block)
but have this in the component:
public IViewComponentResult Invoke(BlockListItem<NewsArticleImageElement> model)