end taxpayer and MarkupStringInBlog

This commit is contained in:
mmrbnjd
2024-07-20 12:58:17 +03:30
parent d67a9ae440
commit 5ded8c07e5
5 changed files with 35 additions and 34 deletions

View File

@@ -64,10 +64,9 @@
<article>
<div class="postbox__details-title-box pb-30">
<p>
@Item?.Text
</p>
@((MarkupString)Item?.Text)
</div>
@@ -133,11 +132,13 @@
public List<BlogDto> collectionitem { get; set; } = new List<BlogDto>();
public BlogDtoFull? Item { get; set; }
protected override async Task OnParametersSetAsync()
{
if (ItemID != null)
{
Item = await GetItems();
// Item.Text = "<p><strong>RTHH</strong></p>";
if (Item==null)
Navigation.NavigateTo("/");