Skip to content

Commit

Permalink
Merge pull request #4903 from 3liz/backport-4894-to-release_3_8
Browse files Browse the repository at this point in the history
[Backport release_3_8] [Bug] Permalink: encode layers style before hash comparison
  • Loading branch information
rldhont authored Oct 23, 2024
2 parents 611c8b3 + bca4675 commit 65fde46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/modules/Permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export default class Permalink {
for (const item of mainLizmap.state.rootMapGroup.findMapLayersAndGroups()) {
if (item.checked){
itemsVisibility.push(encodeURIComponent(item.name));
itemsStyle.push(item.wmsSelectedStyleName);
itemsStyle.push(item.wmsSelectedStyleName ? encodeURIComponent(item.wmsSelectedStyleName) : item.wmsSelectedStyleName);
itemsOpacity.push(item.opacity);
}
}
Expand Down

0 comments on commit 65fde46

Please sign in to comment.