From ca32d7a37c8660af5779523247319adf0cac74db Mon Sep 17 00:00:00 2001 From: Dominique Alexandre Date: Fri, 27 Dec 2024 11:07:05 -0500 Subject: [PATCH] Re-add DefaultSettings.PriceCheckBulkMinimumStock --- .../Settings/PriceCheckBulkMinimumStockEditor.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sidekick.Modules.Trade/Settings/PriceCheckBulkMinimumStockEditor.razor b/src/Sidekick.Modules.Trade/Settings/PriceCheckBulkMinimumStockEditor.razor index 48bbd51d..c8a984fd 100644 --- a/src/Sidekick.Modules.Trade/Settings/PriceCheckBulkMinimumStockEditor.razor +++ b/src/Sidekick.Modules.Trade/Settings/PriceCheckBulkMinimumStockEditor.razor @@ -21,7 +21,7 @@ private async Task MinimumChanged(decimal? value) { - Minimum = value ?? 0; + Minimum = value ?? DefaultSettings.PriceCheckBulkMinimumStock; await SettingsService.Set(SettingKeys.PriceCheckBulkMinimumStock, (int)Minimum); }