mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-22 11:38:26 +00:00
Change 'IsValueLink' to 'Link' in CardListItemProperty
This commit is contained in:
parent
2f5719573d
commit
a34a5f14f8
@ -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"/>
|
||||
}
|
||||
|
@ -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; }
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ public partial class UploadLocationsPage : BasicComponent
|
||||
{
|
||||
Name = "Location",
|
||||
Value = uploadLocation.Location,
|
||||
IsValueLink = true,
|
||||
Link = uploadLocation.Location,
|
||||
},
|
||||
new CardListItemProperty
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user