Skip to content

Commit

Permalink
Fix redirect being fucky
Browse files Browse the repository at this point in the history
  • Loading branch information
CorruptComputer committed Nov 10, 2024
1 parent beb9dd8 commit c195925
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ public async Task SendCreateRequestAsync()
{
ApiError = false;

Guid projectId = await ApiClient.CreateInitiativeAsync(ProjectId, new()
Guid initiativeId = await ApiClient.CreateInitiativeAsync(ProjectId, new()
{
Name = InitiativeName.Text
});

NavManager.NavigateTo(FrontEndUrls.Project.PROJECT_DASHBOARD.Replace("{ProjectId:guid}", projectId.ToString()));
NavManager.NavigateTo(FrontEndUrls.Project.Initiative.INITIATIVE_DASHBOARD.Replace("{ProjectId:guid}", ProjectId.ToString()).Replace("{InitiativeId:guid}", initiativeId.ToString()));
}
catch (ApiException ex)
{
Expand Down

0 comments on commit c195925

Please sign in to comment.