diff --git a/BTCPayServer/Views/Stores/UpdateStore.cshtml b/BTCPayServer/Views/Stores/UpdateStore.cshtml index de452ee72..00f4c82a5 100644 --- a/BTCPayServer/Views/Stores/UpdateStore.cshtml +++ b/BTCPayServer/Views/Stores/UpdateStore.cshtml @@ -27,27 +27,24 @@
- @scheme.Value
-
-
- @if (scheme.Value.Length > 20)
- {
- var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{16})$");
- @match.Value;
- }
-
+ @scheme.Value
+ @if (scheme.Value.Length > 20)
+ {
+ @Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{6})$").Value
+ }
@if (scheme.WalletSupported)
{
- Wallet
+ Manage Wallet
}
}
@@ -66,12 +63,12 @@
Disabled
}
- @if (scheme.Enabled)
+ @if (isSetUp)
{
|
}
-
- @(scheme.Enabled ? "Modify" : "Setup")
+
+ @(isSetUp ? "Modify" : "Setup")
@scheme.Address
+ @scheme.Address
}
@@ -125,12 +124,12 @@
Disabled
}
- @if (scheme.Enabled)
+ @if (isSetUp)
{
|
}
-
- @(scheme.Enabled ? "Modify" : "Setup")
+
+ @(isSetUp ? "Modify" : "Setup")