@samitouri / QOSami-HFS / commits / ac61e955

fix: admin/plugins: wrong order when the repo name has changed

Massimo Melina committed Aug 29, 2025 at 00:16 UTC ac61e95544b5b5ff66e49750299d89807cebc900
1 file changed +1 -1
admin/src/InstalledPlugins.ts
+1 -1
@@ -29,7 +29,7 @@ export default function InstalledPlugins({ updates }: { updates?: true }) {
29 })
30 useEffect(() => {
31 setList(list =>
32 - _.sortBy(list, x => (x.error ? 0 : x.started ? 1 : 2) + treatPluginName(x.id).toLowerCase()))
32 + _.sortBy(list, x => (x.error ? 0 : x.started ? 1 : 2) + treatPluginName(x.repo?.split('/').reverse().join('/') || x.id).toLowerCase()))
33 }, [list.length]);
34 const size = 'small'
35 const { pause, pauseButton } = usePauseButton("plugins", () => getSingleConfig(CFG.suspend_plugins).then(x => !x), {