Disable workspaces when desired

This commit is contained in:
tsommer committed 2024-07-10 13:20:45 +02:00
1 parent d311cd9783
commit bc56b2d9b0
1 file changed
+5 -2
@@ -37,7 +37,9 @@
</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)
{
<MudDrawer @bind-Open="@this.workspacesVisible" Width="40em" Height="100%" Anchor="Anchor.Start" Variant="DrawerVariant.Temporary" Elevation="1">
<MudDrawerHeader> <MudDrawerHeader>
<MudStack Row="@true" AlignItems="AlignItems.Center"> <MudStack Row="@true" AlignItems="AlignItems.Center">
<MudText Typo="Typo.h6" Class="mr-3"> <MudText Typo="Typo.h6" Class="mr-3">
@@ -49,4 +51,5 @@
<MudDrawerContainer Class="ml-6"> <MudDrawerContainer Class="ml-6">
<Workspaces/> <Workspaces/>
</MudDrawerContainer> </MudDrawerContainer>
</MudDrawer> </MudDrawer>
}