File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -145,23 +145,14 @@ private function applyAttributes(array $elements): array
145145 $ previous = null ;
146146
147147 foreach ($ elements as $ element ) {
148- // TODO
149- $ isDynamicViewComponent = $ element instanceof ViewComponentElement && $ element ->getViewComponent () instanceof DynamicViewComponent;
150-
151- if (! $ isDynamicViewComponent ) {
152- $ children = $ this ->applyAttributes ($ element ->getChildren ());
153- $ element ->setChildren ($ children );
154- }
148+ $ children = $ this ->applyAttributes ($ element ->getChildren ());
149+ $ element ->setChildren ($ children );
155150
156151 $ element ->setPrevious ($ previous );
157152
158153 $ shouldBeRemoved = false ;
159154
160155 foreach ($ element ->getAttributes () as $ name => $ value ) {
161- if ($ isDynamicViewComponent && $ name !== ':is ' && $ name !== 'is ' ) {
162- continue ;
163- }
164-
165156 // TODO: possibly refactor attribute construction to ElementFactory?
166157 if ($ value instanceof Attribute) {
167158 $ attribute = $ value ;
You can’t perform that action at this time.
0 commit comments