fix(profile): standardize JSRuntime usage in ChargeCreditWallet component
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 27m33s

- Updated references to `jsRuntime` to `JSRuntime` for consistency across the ChargeCreditWallet component.
- Improved the clarity of the code by ensuring uniform naming conventions in the handling of return URLs.

These changes enhance code readability and maintainability in the ChargeCreditWallet functionality.
This commit is contained in:
masoodafar-web
2026-06-26 18:47:13 +03:30
parent d44e99f4ab
commit 81d139cdab
2 changed files with 6 additions and 6 deletions
@@ -143,7 +143,7 @@ public partial class CheckoutSummary : ComponentBase
});
var result = await dialog.Result;
if (result is { Canceled: false, Data: long chargeShortfall })
if (result is { Canceled: false } && result.Data is long chargeShortfall)
{
var chargeAmount = CreditChargeNavigation.NormalizeChargeAmount(chargeShortfall);
Navigation.NavigateTo(CreditChargeNavigation.BuildChargeUrl(