Skip to content
Snippets Groups Projects

REDMINE_ISSUE-14268|Administration des fonds cartographiques - Duplication des couches quand on les intervertit

Merged REDMINE_ISSUE-14268|Administration des fonds cartographiques - Duplication des couches quand on les intervertit
Merged Timothee P requested to merge redmine-issues/14268 into develop
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -179,7 +179,7 @@ export default {
@@ -179,7 +179,7 @@ export default {
onlayerMove() {
onlayerMove() {
//* Get the names of the current layers in order.
//* Get the names of the current layers in order.
const currentLayersNamesInOrder = Array.from(
const currentLayersNamesInOrder = Array.from(
document.getElementsByClassName('layer-item')
document.getElementsByClassName(`basemap-${this.basemap.id}`)
).map((el) => el.id);
).map((el) => el.id);
//* increment value 'order' in this.basemap.layers looping over layers from template ^
//* increment value 'order' in this.basemap.layers looping over layers from template ^
Loading