Allowing sections to work outside components

This commit is contained in:
Bruno Alves de Faria committed 2017-03-21 10:16:46 -03:00
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;
});
});