Skip to content

Commit

Permalink
CSP-1245 - Removed unnecessary code to clear warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDavidWilliams authored and DevenKShah committed Mar 12, 2024
1 parent 61bb128 commit a7a52fb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
bool showErrors = Model.ErrorMessages != null && Model.ErrorMessages.Count > 0;
}

@if (Model.ApplicationId != null && Model.ApplicationId != Guid.Empty)
@if (Model.ApplicationId != Guid.Empty)
{
@section Navigation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
bool showErrors = Model.ErrorMessages != null && Model.ErrorMessages.Count > 0;
}

@if (Model.ApplicationId != null && Model.ApplicationId != Guid.Empty)
@if (Model.ApplicationId != Guid.Empty)
{
@section Navigation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
bool showErrors = Model.ErrorMessages != null && Model.ErrorMessages.Count > 0;
}

@if (Model.ApplicationId != null && Model.ApplicationId != Guid.Empty)
@if (Model.ApplicationId != Guid.Empty)
{
@section Navigation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
Layout = "_Layout";

bool showErrors = TempData["ShowErrors"] as bool? ?? false;
int numberOfTitles = 3;
}

@section Navigation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

var submitAction = "ProcessRoute";

if (Model.ApplicationId != null && Model.ApplicationId != Guid.Empty)
if (Model.ApplicationId != Guid.Empty)
{
submitAction = "UpdateApplicationProviderRoute";
}
}

@if (Model.ApplicationId != null && Model.ApplicationId != Guid.Empty)
@if (Model.ApplicationId != Guid.Empty)
{
@section Navigation
{
Expand Down

0 comments on commit a7a52fb

Please sign in to comment.