From 71a185e176c10b3f3b17f50b1a723abf8d969258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Thu, 15 Aug 2024 22:10:05 +0200 Subject: [PATCH] remove a bunch of pages from sourcemap --- src/web/Jordnaer/Components/Account/Pages/ConfirmEmail.razor | 2 -- .../Jordnaer/Components/Account/Pages/ConfirmEmailChange.razor | 3 --- src/web/Jordnaer/Components/Account/Pages/ExternalLogin.razor | 3 --- src/web/Jordnaer/Components/Account/Pages/ForgotPassword.razor | 3 --- .../Components/Account/Pages/ForgotPasswordConfirmation.razor | 3 --- .../Components/Account/Pages/InvalidPasswordReset.razor | 2 -- src/web/Jordnaer/Components/Account/Pages/InvalidUser.razor | 2 -- src/web/Jordnaer/Components/Account/Pages/Lockout.razor | 2 -- src/web/Jordnaer/Components/Account/Pages/Logout.razor | 1 - .../Components/Account/Pages/RegisterConfirmation.razor | 2 -- .../Components/Account/Pages/ResetPasswordConfirmation.razor | 2 ++ src/web/Jordnaer/Pages/Profile/PublicProfile.razor | 2 -- 12 files changed, 2 insertions(+), 25 deletions(-) diff --git a/src/web/Jordnaer/Components/Account/Pages/ConfirmEmail.razor b/src/web/Jordnaer/Components/Account/Pages/ConfirmEmail.razor index e034153d..fdb72132 100644 --- a/src/web/Jordnaer/Components/Account/Pages/ConfirmEmail.razor +++ b/src/web/Jordnaer/Components/Account/Pages/ConfirmEmail.razor @@ -7,8 +7,6 @@ @inject UserManager UserManager @inject IdentityRedirectManager RedirectManager -@attribute [Sitemap] -

Bekræft email

diff --git a/src/web/Jordnaer/Components/Account/Pages/ConfirmEmailChange.razor b/src/web/Jordnaer/Components/Account/Pages/ConfirmEmailChange.razor index d63f4b48..5721a4d9 100644 --- a/src/web/Jordnaer/Components/Account/Pages/ConfirmEmailChange.razor +++ b/src/web/Jordnaer/Components/Account/Pages/ConfirmEmailChange.razor @@ -7,9 +7,6 @@ @inject SignInManager SignInManager @inject IdentityRedirectManager RedirectManager -@attribute [Sitemap] - -

Bekræft ændring af email

diff --git a/src/web/Jordnaer/Components/Account/Pages/ExternalLogin.razor b/src/web/Jordnaer/Components/Account/Pages/ExternalLogin.razor index 7a2970bb..4b07e517 100644 --- a/src/web/Jordnaer/Components/Account/Pages/ExternalLogin.razor +++ b/src/web/Jordnaer/Components/Account/Pages/ExternalLogin.razor @@ -14,9 +14,6 @@ @inject JordnaerDbContext Context @inject IMediator Mediator -@attribute [Sitemap] - - diff --git a/src/web/Jordnaer/Components/Account/Pages/ForgotPassword.razor b/src/web/Jordnaer/Components/Account/Pages/ForgotPassword.razor index a494359a..b0015bc2 100644 --- a/src/web/Jordnaer/Components/Account/Pages/ForgotPassword.razor +++ b/src/web/Jordnaer/Components/Account/Pages/ForgotPassword.razor @@ -8,9 +8,6 @@ @inject NavigationManager NavigationManager @inject IdentityRedirectManager RedirectManager -@attribute [Sitemap] - -

Glemt din adgangskode?

diff --git a/src/web/Jordnaer/Components/Account/Pages/ForgotPasswordConfirmation.razor b/src/web/Jordnaer/Components/Account/Pages/ForgotPasswordConfirmation.razor index b448422e..ee36b78b 100644 --- a/src/web/Jordnaer/Components/Account/Pages/ForgotPasswordConfirmation.razor +++ b/src/web/Jordnaer/Components/Account/Pages/ForgotPasswordConfirmation.razor @@ -1,8 +1,5 @@ @page "/Account/ForgotPasswordConfirmation" -@attribute [Sitemap] - -

Bekræftelse af glemt adgangskode

diff --git a/src/web/Jordnaer/Components/Account/Pages/InvalidPasswordReset.razor b/src/web/Jordnaer/Components/Account/Pages/InvalidPasswordReset.razor index af5e2ffb..366132ef 100644 --- a/src/web/Jordnaer/Components/Account/Pages/InvalidPasswordReset.razor +++ b/src/web/Jordnaer/Components/Account/Pages/InvalidPasswordReset.razor @@ -1,7 +1,5 @@ @page "/Account/InvalidPasswordReset" -@attribute [Sitemap] -

Ugyldig nulstilling af adgangskode

diff --git a/src/web/Jordnaer/Components/Account/Pages/InvalidUser.razor b/src/web/Jordnaer/Components/Account/Pages/InvalidUser.razor index d2056a3f..9d20efca 100644 --- a/src/web/Jordnaer/Components/Account/Pages/InvalidUser.razor +++ b/src/web/Jordnaer/Components/Account/Pages/InvalidUser.razor @@ -1,7 +1,5 @@ @page "/Account/InvalidUser" -@attribute [Sitemap] -

Ugyldig bruger

diff --git a/src/web/Jordnaer/Components/Account/Pages/Lockout.razor b/src/web/Jordnaer/Components/Account/Pages/Lockout.razor index bec8ee4e..8d027f4c 100644 --- a/src/web/Jordnaer/Components/Account/Pages/Lockout.razor +++ b/src/web/Jordnaer/Components/Account/Pages/Lockout.razor @@ -1,7 +1,5 @@ @page "/Account/Lockout" -@attribute [Sitemap] -
diff --git a/src/web/Jordnaer/Components/Account/Pages/Logout.razor b/src/web/Jordnaer/Components/Account/Pages/Logout.razor index 4a425f01..1b3631d5 100644 --- a/src/web/Jordnaer/Components/Account/Pages/Logout.razor +++ b/src/web/Jordnaer/Components/Account/Pages/Logout.razor @@ -1,7 +1,6 @@ @page "/Account/Logout" @attribute [Authorize] -@attribute [Sitemap]
diff --git a/src/web/Jordnaer/Components/Account/Pages/RegisterConfirmation.razor b/src/web/Jordnaer/Components/Account/Pages/RegisterConfirmation.razor index 57e2f531..759636ad 100644 --- a/src/web/Jordnaer/Components/Account/Pages/RegisterConfirmation.razor +++ b/src/web/Jordnaer/Components/Account/Pages/RegisterConfirmation.razor @@ -3,8 +3,6 @@ @inject UserManager UserManager @inject IdentityRedirectManager RedirectManager -@attribute [Sitemap] - @if (!string.IsNullOrEmpty(_statusMessage?.Message)) diff --git a/src/web/Jordnaer/Components/Account/Pages/ResetPasswordConfirmation.razor b/src/web/Jordnaer/Components/Account/Pages/ResetPasswordConfirmation.razor index a689e36b..5a261114 100644 --- a/src/web/Jordnaer/Components/Account/Pages/ResetPasswordConfirmation.razor +++ b/src/web/Jordnaer/Components/Account/Pages/ResetPasswordConfirmation.razor @@ -1,6 +1,8 @@ @page "/Account/ResetPasswordConfirmation" +@attribute [Sitemap] +

Bekræftelse af nulstilling af adgangskode

Din adgangskode er blevet nulstillet. Klik her for at logge ind. diff --git a/src/web/Jordnaer/Pages/Profile/PublicProfile.razor b/src/web/Jordnaer/Pages/Profile/PublicProfile.razor index f4ce60ab..03203137 100644 --- a/src/web/Jordnaer/Pages/Profile/PublicProfile.razor +++ b/src/web/Jordnaer/Pages/Profile/PublicProfile.razor @@ -23,8 +23,6 @@ Image="@_profile?.ProfilePictureUrl" /> - - @if (_currentUserId != _profile?.Id) {