Change 'IsValueLink' to 'Link' in CardListItemProperty

This commit is contained in:
Ivan Yaremenchuk 2022-09-18 22:26:51 -05:00
parent 2f5719573d
commit a34a5f14f8
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@
@namePart
</text>
<text style="@valueStyle">
@if (property.IsValueLink)
@if (!string.IsNullOrEmpty(property.Link))
{
<RadzenLink Icon="open_in_new" Path="@property.Value" Text="@property.Value" Target="_blank"/>
}

View File

@ -5,5 +5,5 @@ public class CardListItemProperty
public string Name { get; set; }
public string Value { get; set; }
public string ValueColor { get; set; }
public bool IsValueLink { get; set; }
public string Link { get; set; }
}

View File

@ -39,7 +39,7 @@ public partial class UploadLocationsPage : BasicComponent
{
Name = "Location",
Value = uploadLocation.Location,
IsValueLink = true,
Link = uploadLocation.Location,
},
new CardListItemProperty
{