Fixed inline toggle changes when viewing the list of hosts in table

This commit is contained in:
Muhammad Ibrahim
2025-09-26 09:09:02 +01:00
parent 40a9003e6f
commit a76a722364

View File

@@ -16,7 +16,6 @@ const InlineToggle = ({
// Check if value actually changed
if (newValue === value) {
setIsEditing(false);
return;
}
@@ -25,7 +24,6 @@ const InlineToggle = ({
try {
await onSave(newValue);
setIsEditing(false);
} catch (err) {
setError(err.message || "Failed to save");
} finally {