mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Disable workspaces when desired
This commit is contained in:
parent
d311cd9783
commit
bc56b2d9b0
@ -37,16 +37,19 @@
|
|||||||
</FooterContent>
|
</FooterContent>
|
||||||
</InnerScrolling>
|
</InnerScrolling>
|
||||||
|
|
||||||
<MudDrawer @bind-Open="@this.workspacesVisible" Width="40em" Height="100%" Anchor="Anchor.Start" Variant="DrawerVariant.Temporary" Elevation="1">
|
@if (this.SettingsManager.ConfigurationData.WorkspaceStorageBehavior != WorkspaceStorageBehavior.DISABLE_WORKSPACES)
|
||||||
<MudDrawerHeader>
|
{
|
||||||
<MudStack Row="@true" AlignItems="AlignItems.Center">
|
<MudDrawer @bind-Open="@this.workspacesVisible" Width="40em" Height="100%" Anchor="Anchor.Start" Variant="DrawerVariant.Temporary" Elevation="1">
|
||||||
<MudText Typo="Typo.h6" Class="mr-3">
|
<MudDrawerHeader>
|
||||||
Your workspaces
|
<MudStack Row="@true" AlignItems="AlignItems.Center">
|
||||||
</MudText>
|
<MudText Typo="Typo.h6" Class="mr-3">
|
||||||
<MudIconButton Icon="@Icons.Material.Filled.Close" Variant="Variant.Filled" Color="Color.Default" Size="Size.Small" OnClick="() => this.ToggleWorkspaces()"/>
|
Your workspaces
|
||||||
</MudStack>
|
</MudText>
|
||||||
</MudDrawerHeader>
|
<MudIconButton Icon="@Icons.Material.Filled.Close" Variant="Variant.Filled" Color="Color.Default" Size="Size.Small" OnClick="() => this.ToggleWorkspaces()"/>
|
||||||
<MudDrawerContainer Class="ml-6">
|
</MudStack>
|
||||||
<Workspaces/>
|
</MudDrawerHeader>
|
||||||
</MudDrawerContainer>
|
<MudDrawerContainer Class="ml-6">
|
||||||
</MudDrawer>
|
<Workspaces/>
|
||||||
|
</MudDrawerContainer>
|
||||||
|
</MudDrawer>
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user