From cf487787b0dfa47ceecc461a656136f0ca28ceaa Mon Sep 17 00:00:00 2001 From: Vincent Baaij Date: Mon, 23 Dec 2024 10:25:19 +0100 Subject: [PATCH] Fix #3068 --- Directory.Packages.props | 10 +++++----- .../Components/Pages/Weather.razor | 20 +++++++++---------- .../MauiApp.1.Shared/Pages/Weather.razor | 11 ++++++++++ 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e8cc46cf48..1be40112a7 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,17 +2,17 @@ true 8.0.0 - 8.0.10 - 8.0.10 + 8.0.11 + 8.0.11 9.0.0 9.0.0 9.0.0 - - - + + + diff --git a/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor b/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor index fc481a4447..3986c09a4c 100644 --- a/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor +++ b/src/Templates/templates/blazorweb-csharp/BlazorWeb-CSharp/Components/Pages/Weather.razor @@ -9,29 +9,29 @@

This component demonstrates showing data.

+@*#if (InteractiveAtRoot) --> @if (forecasts == null) {

Loading...

} else { - @*#if (InteractiveAtRoot) --> - ##else - - - - - - - - ##endif*@ } +##else + + + + + + + +##endif*@ @code { private IQueryable? forecasts; diff --git a/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor b/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor index af04ea03b1..734bcbb0b8 100644 --- a/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor +++ b/src/Templates/templates/maui-blazor-solution/MauiApp.1.Shared/Pages/Weather.razor @@ -9,6 +9,7 @@

This component demonstrates showing data.

+@*#if (InteractiveAtRoot) --> @if (forecasts == null) {

Loading...

@@ -22,6 +23,16 @@ else } +##else + + + + + + + +##endif*@ + @code { private IQueryable? forecasts;