diff --git a/src/NetworkOptimizer.Web/Components/Pages/PerformanceTweaks.razor b/src/NetworkOptimizer.Web/Components/Pages/PerformanceTweaks.razor index 4ef60faff..08080fc3f 100644 --- a/src/NetworkOptimizer.Web/Components/Pages/PerformanceTweaks.razor +++ b/src/NetworkOptimizer.Web/Components/Pages/PerformanceTweaks.razor @@ -12,7 +12,7 @@ @if (!ConnectionService.IsConnected && ConnectionService.IsInitialized && !string.IsNullOrEmpty(ConnectionService.LastError)) @@ -352,7 +352,7 @@ @if (tweakStatus?.IsManuallyDeployed != true) { - - } @@ -462,6 +470,34 @@ } + +@if (_showRemoveConfirm && _pendingRemoveTweakId != null) +{ + var removeDef = _tweakDefs.FirstOrDefault(d => d.Id == _pendingRemoveTweakId); +
+
+
+

Confirm Removal

+
+
+

Are you sure you want to remove @(removeDef?.Title ?? _pendingRemoveTweakId)? This will delete the boot script and reverse the tweak's changes on your gateway.

+ @if (_pendingRemoveTweakId == "mongodb-ssd") + { +
+ Note: Removal will briefly stop UniFi Network while migrating MongoDB data back from SSD to eMMC, then restart it. +
+ } +
+ +
+
+} +