Skip to content

Commit

Permalink
little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipLeitner authored and raitisbe committed Nov 9, 2019
1 parent 93bfb48 commit 09ce7d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/layermanager/layer-editor.sub-layer.service.js
Expand Up @@ -41,8 +41,8 @@ export default ['hs.layermanager.service',
params.LAYERS = Object.keys(me.checkedSubLayers).filter(key =>
me.checkedSubLayers[key] && !me.withChildren[key]
).join(',');

if (params.LAYERS == 'undefined') {
console.log(params)
if (params.LAYERS == "") {
LayMan.changeLayerVisibility(!layer.visible, layer)
return
}
Expand Down
1 change: 0 additions & 1 deletion components/layermanager/layermanager.component.js
Expand Up @@ -119,7 +119,6 @@ export default {
} else {
$scope.setCurrentLayer(layer);
LayMan.fillMetadata(layer);
console.log("firstcon")
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/layermanager/partials/layer-editor.html
Expand Up @@ -10,7 +10,7 @@

<!-- Sublayers ng-if="subLayersOn()"-->
<div class="form-group" >
<div class="hs-lm-item-title pb-2" ng-click="toggleSublayers()" ng-init="subLayersVisible=false">
<div class="hs-lm-item-title pb-1" ng-click="toggleSublayers()" ng-init="subLayersVisible=false">
<i class="small" ng-class="{'icon-chevron-down': subLayersVisible, 'icon-chevron-right': !subLayersVisible}"></i>
Sublayers
</div>
Expand Down

0 comments on commit 09ce7d6

Please sign in to comment.