diff --git a/frontend/src/components/App/PluginSettings/PluginSettings.tsx b/frontend/src/components/App/PluginSettings/PluginSettings.tsx index c55060b610..ca2a9ec815 100644 --- a/frontend/src/components/App/PluginSettings/PluginSettings.tsx +++ b/frontend/src/components/App/PluginSettings/PluginSettings.tsx @@ -240,6 +240,7 @@ export function PluginSettingsPure(props: PluginSettingsPureProps) { }, { header: t('translation|Enable'), + accessorFn: (plugin: PluginInfo) => plugin.isEnabled, Cell: ({ row: { original: plugin } }: { row: MRT_Row }) => { if (!plugin.isCompatible || !helpers.isElectron()) { return null; @@ -247,15 +248,13 @@ export function PluginSettingsPure(props: PluginSettingsPureProps) { return ( switchChangeHanlder(plugin)} color="primary" name={plugin.name} /> ); }, - sort: (a: PluginInfo, b: PluginInfo) => - a.isEnabled === b.isEnabled ? 0 : a.isEnabled ? -1 : 1, }, ] // remove the enable column if we're not in app mode