@trailstash/ultra 3.4.1 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,8 +96,9 @@ export class HelpModal extends HTMLElement {
96
96
  let stylesHTML = "";
97
97
  if (this.styles.length > 0) {
98
98
  stylesHTML = `<div><h4>Style & Tile Providers</h4><ul>`;
99
- for (const style of this.styles) {
100
- stylesHTML += `<li>${style[2]}</li>`;
99
+ const styles = new Set(this.styles.map(style => style[2]));
100
+ for (const style of styles) {
101
+ stylesHTML += `<li>${style}</li>`;
101
102
  }
102
103
  stylesHTML += `</ul></div>`;
103
104
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.4.1",
6
+ "version": "3.4.2",
7
7
  "description": "A web based tool for making MapLibre GL maps with data from sources such as Overpass, GeoJSON, GPX, KML, TCX, etc",
8
8
  "main": "index.js",
9
9
  "scripts": {