Skip to content
Snippets Groups Projects
Commit f9360ef9 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'redmine-issues/14268' into 'develop'

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

See merge request !431
parents ecfbea96 f5a0ece5
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ export default {
onlayerMove() {
//* Get the names of the current layers in order.
const currentLayersNamesInOrder = Array.from(
document.getElementsByClassName('layer-item')
document.getElementsByClassName(`basemap-${this.basemap.id}`)
).map((el) => el.id);
//* increment value 'order' in this.basemap.layers looping over layers from template ^
......
<template>
<div
:id="layer.dataKey"
class="ui segment layer-item"
:class="`ui segment layer-item basemap-${basemapid}`"
>
<div class="ui divided form">
<div
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment