We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 543cc53 commit f6753dfCopy full SHA for f6753df
1 file changed
internal/webui/src/pages/SourcesPage/components/SourcesGrid/components/EnabledSourceSwitch.tsx
@@ -14,9 +14,7 @@ export const EnabledSourceSwitch = ({ source }: EnabledSourceSwitchProps) => {
14
editEnabled.mutate({
15
...source,
16
IsEnabled: value,
17
- },
18
- { onError: () => editEnabled.reset() }
19
- );
+ });
20
};
21
22
const checked = editEnabled.isPending ? !source.IsEnabled : source.IsEnabled;
0 commit comments