<sly data-sly-test="logic"> //Newly added logic
<sly data-sly-test="logic"> //existing logc
Here I have wrapped the existing logic by a new logic and all of my existing content related to that inside sly logic got lost.
Any inputs highly appreciate.
Case A -
Looks like new logic " data-sly-test='logic' " returning false which don't allow to execute the inner portion
Case B -
If you have 2 different test conditions then define with variables like data-sly-test.new="logic" and data-sly-test.old="logic"