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

Fix up double negative logic

Masen Furer пре 1 година
родитељ
комит
67624b48df
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      reflex/components/component.py

+ 1 - 1
reflex/components/component.py

@@ -1356,7 +1356,7 @@ class CustomComponent(Component):
                     ImportVar(
                         tag=None,
                         render=False,
-                        install=not any(not imp.install for imp in imps),
+                        install=any(imp.install for imp in imps),
                     ),
                 ]
                 for comp in self.get_custom_components()