-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SITES-13898 - [AEMaaCS] The Accordion/Carousel/Tabs Component cannot delete dialog item after moving #2547
Conversation
myronenko
commented
Jul 14, 2023
•
edited by LSantha
Loading
edited by LSantha
- Fixed moved item deletion for the Accordion/Carousel/Tabs components
Q | A |
---|---|
Fixed Issues? | SITES-13898 |
Patch: Bug Fix? | Bug Fix |
Minor: New Feature? | |
Major: Breaking Change? | |
Tests Added + Pass? | Yes |
Documentation Provided | Yes (code comments) |
Any Dependency Changes? | |
License | Apache License, Version 2.0 |
Codecov Report
@@ Coverage Diff @@
## main #2547 +/- ##
=========================================
Coverage 87.22% 87.22%
Complexity 2616 2616
=========================================
Files 229 229
Lines 6974 6974
Branches 1055 1055
=========================================
Hits 6083 6083
Misses 358 358
Partials 533 533 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
...nents/commons/editor/dialog/childreneditor/v1/childreneditor/clientlibs/js/childreneditor.js
Outdated
Show resolved
Hide resolved
...nents/commons/editor/dialog/childreneditor/v1/childreneditor/clientlibs/js/childreneditor.js
Outdated
Show resolved
Hide resolved
...nents/commons/editor/dialog/childreneditor/v1/childreneditor/clientlibs/js/childreneditor.js
Outdated
Show resolved
Hide resolved
@@ -252,25 +252,23 @@ | |||
} | |||
|
|||
Coral.commons.ready(that._elements.self, function(item) { | |||
// As a reordering of the multifield also triggers the coral-collection:remove event we have to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think since that._elements.self is referenced multiple times, could probably be stored as a const and used in all the other places, but this is more a nitpick
Kudos, SonarCloud Quality Gate passed! |