fgpv-vpgf / fgpa-apgf

Authoring tool for FGP viewer
Other
7 stars 14 forks source link

_state table has duplicate items on initial load of a template on second time thru validatemodel in statemanagerservice.js #463

Open Pewillia opened 5 years ago

Pewillia commented 5 years ago

map state model=

  1. (5) [{…}, {…}, {…}, {…}, {…}]
  2. 0: {key: "form.map.extentlods", title: "Extents and Levels of Detail", items: Array(6), valid: true, expand: false, …}
  3. 1: {key: "baseMaps", title: "Basemaps Collection", valid: true, expand: false, masterlink: 1, …}
  4. 2: {key: "layers", title: "Layers Collection", valid: true, expand: false, masterlink: 1, …}
  5. 3: {key: "legend", title: "Legend", items: Array(4), valid: true, expand: false, …}
  6. 4: {key: "components", title: "Map Components", items: Array(8), valid: true, expand: false, …}
  7. 5: {key: "form.map.extentlods", title: "Extents and Levels of Detail", items: Array(0), valid: true, expand: false, …}
  8. 6: {key: "baseMaps", title: "Basemaps Collection", valid: true, expand: false, masterlink: 1, …}
  9. 7: {key: "layers", title: "Layers Collection", valid: true, expand: false, masterlink: 1, …}
  10. 8: {key: "legend", title: "Legend", items: Array(0), valid: true, expand: false, …}
  11. 9: {key: "components", title: "Map Components", items: Array(0), valid: true, expand: false, …}
  12. length: 10
  13. proto: Array(0