Skip to content

Commit

Permalink
Merge pull request #1315 from DuendeSoftware/joe/nullable-enable-nav
Browse files Browse the repository at this point in the history
Enable nullable ref types in _nav of all hosts
  • Loading branch information
josephdecock committed May 31, 2023
2 parents 3d0aafc + c84c4ae commit 68c40d0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions hosts/Configuration/Pages/Shared/_Nav.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@using Duende.IdentityServer.Extensions
@{
#nullable enable
string? name = null;
if (!true.Equals(ViewData["signed-out"]))
{
Expand Down
6 changes: 6 additions & 0 deletions hosts/EntityFramework/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
<li>
Click <a href="~/ciba/all">here</a> to view your pending CIBA login requests.
</li>
<li>
Click <a href="~/admin">here</a> to view the simple admin page.
</li>
<li>
Click <a href="~/portal">here</a> to view the client application portal.
</li>
<li>
Here are links to the
<a href="https://github.com/duendesoftware/IdentityServer">source code repository</a>,
Expand Down
1 change: 1 addition & 0 deletions hosts/EntityFramework/Pages/Shared/_Nav.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@using Duende.IdentityServer.Extensions
@{
#nullable enable
string? name = null;
if (!true.Equals(ViewData["signed-out"]))
{
Expand Down
1 change: 1 addition & 0 deletions hosts/main/Pages/Shared/_Nav.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@using Duende.IdentityServer.Extensions
@{
#nullable enable
string? name = null;
if (!true.Equals(ViewData["signed-out"]))
{
Expand Down
1 change: 1 addition & 0 deletions hosts/main7/Pages/Shared/_Nav.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@using Duende.IdentityServer.Extensions
@{
#nullable enable
string? name = null;
if (!true.Equals(ViewData["signed-out"]))
{
Expand Down

0 comments on commit 68c40d0

Please sign in to comment.