Skip to content

Commit

Permalink
Added absoluti Uri path.
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcanosantana committed Nov 26, 2023
1 parent 227968b commit 5f301ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Pages/Dashboard.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@page "/dashboard"
@inject Services.UserService UserService
@inject NavigationManager NavigationManager
@inject HttpClient Http

<PageTitle>Panel Administrativo | Cirsa</PageTitle>
Expand All @@ -24,7 +25,7 @@

<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Link de afiliado</label>
<input value="@UserService.GetLoggedUser().GetId()" class="form-control" id="nameInput" readonly>
<input value="@NavigationManager.ToAbsoluteUri("/dashboard/aff/")@UserService.GetLoggedUser().GetId()" class="form-control" id="nameInput" readonly>

Check failure on line 28 in Pages/Dashboard.razor

View workflow job for this annotation

GitHub Actions / deploy-to-github-pages

Syntax error, ',' expected

Check warning on line 28 in Pages/Dashboard.razor

View workflow job for this annotation

GitHub Actions / deploy-to-github-pages

Dereference of a possibly null reference.
</div>

</form>
Expand Down

0 comments on commit 5f301ac

Please sign in to comment.