@samitouri / QOSami-HFS / commits / e94f4ca8

admin/plugins: show faulty plugins on top, with started ones

Massimo Melina committed Oct 17, 2024 at 00:05 UTC e94f4ca85ffb09d5a16f55742704976a465d6e12
1 file changed +1 -1
admin/src/InstalledPlugins.ts
+1 -1
@@ -30,7 +30,7 @@ export default function InstalledPlugins({ updates }: { updates?: true }) {
30 useEffect(() => {
31 if (!initializing)
32 updateList(list =>
33 - _.sortBy(list, x => (x.started ? '0' : '1') + treatPluginName(x.id)))
33 + _.sortBy(list, x => (x.started || x.error ? '0' : '1') + treatPluginName(x.id)))
34 }, [initializing]);
35 const size = 'small'
36 return h(DataTable, {