Fix how we detect how injectable are enabled
This commit is contained in:
parent
0bbced54c4
commit
0dac774fb8
|
@ -595,7 +595,7 @@ class Registry(DataClassJsonMixin):
|
|||
|
||||
# Apply injects
|
||||
for c in r.iter(Component):
|
||||
if c.isEnabled(target)[0]:
|
||||
if c.resolved[target.id].enabled:
|
||||
for inject in c.injects:
|
||||
victim = r.lookup(inject, Component, includeProvides=True)
|
||||
if not victim:
|
||||
|
|
Loading…
Reference in a new issue