Fixed plugin updates

This commit is contained in:
SamTV12345 2024-04-16 19:16:38 +02:00
parent d7e9ebc8a4
commit a541375f7f

View file

@ -100,7 +100,7 @@ export const HomePage = () => {
pluginsSocket!.on('results:search', (data: {
results: PluginDef[]
}) => {
if (Array.isArray(data.results) && data.results.length === 0) {
if (Array.isArray(data.results) && data.results.length > 0) {
setPlugins(data.results)
} else {
useStore.getState().setToastState({