mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-09 16:04:43 +01:00
Fix missing interpolation marker
This commit is contained in:
parent
2e114d7c29
commit
206d222455
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ public class TruncateCenter : ViewComponent
|
|||
};
|
||||
if (!vm.IsVue)
|
||||
{
|
||||
vm.Start = vm.IsTruncated && !vm.Elastic ? "{text[..padding]}…" : text;
|
||||
vm.Start = vm.IsTruncated && !vm.Elastic ? $"{text[..padding]}…" : text;
|
||||
vm.End = vm.IsTruncated ? text[^padding..] : string.Empty;
|
||||
}
|
||||
return View(vm);
|
||||
|
|
Loading…
Add table
Reference in a new issue