Преглед изворни кода

@uppy/core: fix `setOptions` not re-rendereing plugin UI (#5082)

Antoine du Hamel пре 1 година
родитељ
комит
a4fc709993
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      packages/@uppy/core/src/BasePlugin.ts

+ 0 - 1
packages/@uppy/core/src/BasePlugin.ts

@@ -72,7 +72,6 @@ export default class BasePlugin<
   }
 
   setPluginState(update?: Partial<PluginState>): void {
-    if (!update) return
     const { plugins } = this.uppy.getState()
 
     this.uppy.setState({