Skip to content

Commit

Permalink
Disable experimental editing features for the release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Webreaper committed Mar 9, 2024
1 parent 4e8cb3c commit 89ba43e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Damselfly.Web.Client/Shared/Config.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@inject IJSRuntime JsRuntime
@using System.Diagnostics
@inject IJSRuntime JsRuntime
@inject IConfigService configService
@inject ISystemSettingsService settingsService
@inject ClientThemeService themeService
Expand Down Expand Up @@ -54,12 +55,15 @@
Label="Enable Background Thumbnail Generation"/>
</div>
</div>
<div class="damselfly-configsetting">
<div class="damselfly-configfield">
<MudSwitch @bind-Checked="settingsModel.enableImageEditing" UnCheckedColor=Color.Tertiary Color="Color.Primary"
Label="Enable Image Editing (Experimental)"/>
@if( Debugger.IsAttached )
{
<div class="damselfly-configsetting">
<div class="damselfly-configfield">
<MudSwitch @bind-Checked="settingsModel.enableImageEditing" UnCheckedColor=Color.Tertiary Color="Color.Primary"
Label="Enable Image Editing (Experimental)"/>
</div>
</div>
</div>
}
<button class="btn btn-primary" type="submit">Save Settings</button>
</EditForm>
</DetailedErrorBoundary>
Expand Down

0 comments on commit 89ba43e

Please sign in to comment.