mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Fixed plugin updates
This commit is contained in:
parent
d7e9ebc8a4
commit
a541375f7f
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue