Skip to content
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

Merged
merged 4 commits into from
Aug 15, 2023

Conversation

viatkinviatkin
Copy link
Contributor

  • enable all groups recursively

return;
}

if (this.get('compare.compareLayersEnabled')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

там еще есть флаг this.get('ignoreCompareMode'), его тоже наверное стоит учесть

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправлено

@sonarcloud
Copy link

sonarcloud bot commented Aug 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@@ -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));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а новое условие зачем?

@DaryaNeko DaryaNeko merged commit 82f2b47 into rgis-develop Aug 15, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants