-
Notifications
You must be signed in to change notification settings - Fork 4
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
233532 When enabling a layer, enable all groups recursively #795
Conversation
viatkinviatkin
commented
Aug 8, 2023
- enable all groups recursively
return; | ||
} | ||
|
||
if (this.get('compare.compareLayersEnabled')) { |
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.
там еще есть флаг this.get('ignoreCompareMode'), его тоже наверное стоит учесть
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.
Исправлено
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -84,8 +84,8 @@ export default Ember.Mixin.create({ | |||
const isEnabled = !!sideGroupLayers.find(id => id === layer.get('id')); | |||
if (isEnabled) { | |||
sideGroupLayers = sideGroupLayers.filter(id => id !== layer.get('id')); | |||
let disableLayers = sideChildLayers.filter(l => l.parentIds.includes(layer.get('id')) && this.parentLayersVisible(l.parentIds, side)); |
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.
а новое условие зачем?