LN Settings: Show only node host name (#4927)

This commit is contained in:
d11n 2023-05-05 09:59:33 +02:00 committed by GitHub
parent 920ad67633
commit a0bb3ace61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@
@if (LightningConnectionString.TryParse(Model.ConnectionString, out var cs))
{
@typeof(LightningConnectionType).DisplayName(cs.ConnectionType.ToString())
<span>(@cs.BaseUri)</span>
<span>(@cs.BaseUri.Host)</span>
}
else
{

View file

@ -18,7 +18,7 @@
@if (LightningConnectionString.TryParse(Model.ConnectionString, out var cs))
{
@typeof(LightningConnectionType).DisplayName(cs.ConnectionType.ToString())
<span>(@cs.BaseUri)</span>
<span>(@cs.BaseUri.Host)</span>
}
else
{