Skip to content

Commit

Permalink
only assing if parent is business page
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Dec 8, 2023
1 parent cf5702b commit 7e97970
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/Casino-Model-CoreWeb-Importer/CSNWebModelJava.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,12 @@ CSNWebModelJava >> addPPPToWidget [
maxLevel: 15
level: 0.
founds do: [ :found |
self addWidgetVisitor
addWidget: widget
to: found
withInvocationOfAdd: nil
usingFactory: self factory

" found addWidget: widget" ].
(found isKindOf: CSNBusinessPage) ifTrue: [ " found addWidget: widget"
self addWidgetVisitor
addWidget: widget
to: found
withInvocationOfAdd: nil
usingFactory: self factory ] ].
index \\ 200 = 0 ifTrue: [
((index / col size) asFloat * 100) record ] ]
]
Expand Down

0 comments on commit 7e97970

Please sign in to comment.