mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Stop cascading the main layout
This commit is contained in:
parent
6e3d80abac
commit
03c6e69f41
@ -1,5 +1,3 @@
|
|||||||
using AIStudio.Layout;
|
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace AIStudio.Components;
|
namespace AIStudio.Components;
|
||||||
@ -30,9 +28,6 @@ public partial class InnerScrolling : MSGComponentBase
|
|||||||
[Parameter]
|
[Parameter]
|
||||||
public string Style { get; set; } = string.Empty;
|
public string Style { get; set; } = string.Empty;
|
||||||
|
|
||||||
[CascadingParameter]
|
|
||||||
private MainLayout MainLayout { get; set; } = null!;
|
|
||||||
|
|
||||||
[Inject]
|
[Inject]
|
||||||
private IJSRuntime JsRuntime { get; init; } = null!;
|
private IJSRuntime JsRuntime { get; init; } = null!;
|
||||||
|
|
||||||
|
@ -60,9 +60,7 @@
|
|||||||
|
|
||||||
@if (!this.performingUpdate)
|
@if (!this.performingUpdate)
|
||||||
{
|
{
|
||||||
<CascadingValue Value="@this" IsFixed="true">
|
|
||||||
@this.Body
|
@this.Body
|
||||||
</CascadingValue>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<MudOverlay Visible="@this.performingUpdate" DarkBackground="@true" LockScroll="@true">
|
<MudOverlay Visible="@this.performingUpdate" DarkBackground="@true" LockScroll="@true">
|
||||||
|
Loading…
Reference in New Issue
Block a user