Преглед на файлове

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()