Allowing sections to work outside components
This commit is contained in:
1 parent
dd745e3f65
commit
2a5699a5b7
3 files changed
+41
-21
No files matched your search
@@ -65,7 +65,6 @@ Template.baseComponent.constructView = function(contentFunc, elseFunc) {
|
||||
|
||||
// Iterate over all wrappers and assign the component to them
|
||||
wrapperInstances.forEach(wrapperInstance => {
|
||||
wrapperInstance.view._wrapperComponent = instance.component;
|
||||
wrapperInstance.component = instance.component;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user