mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
Do not show empty JObject in AddtionalData of views
This commit is contained in:
parent
f05a7f9f14
commit
1aaccb1e6b
@ -7,7 +7,8 @@
|
||||
(uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps);
|
||||
}
|
||||
}
|
||||
|
||||
@if (Model.Items.Count > 0)
|
||||
{
|
||||
<table class="table my-0" v-pre>
|
||||
@foreach (var (key, value) in Model.Items)
|
||||
{
|
||||
@ -46,7 +47,7 @@
|
||||
}
|
||||
</td>
|
||||
}
|
||||
else
|
||||
else if (subItems.Count > 0)
|
||||
{
|
||||
<td colspan="2" >
|
||||
@{
|
||||
@ -61,4 +62,4 @@
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user