mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-23 07:42:05 +00:00
Fixed inline toggle changes when viewing the list of hosts in table
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user