Skip to content

Commit

Permalink
Support for STAC 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Aug 12, 2024
1 parent 1061cb8 commit cd7d3da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/Collection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<ul>
<li v-for="(dim, name) in stac['cube:dimensions']" :key="name" class="dimension">
<h4>
<a v-if="dim.type === 'bands'" @click="scrollToBands" class="name" href="#summary_eo:bands">{{ name }}</a>
<a v-if="dim.type === 'bands'" @click="scrollToBands" class="name" href="#summary_bands">{{ name }}</a>
<span v-else class="name">{{ name }}</span>
<ul class="type badges small inline"><li class="badge">{{ dim.type }}</li></ul>
</h4>
Expand Down Expand Up @@ -253,7 +253,7 @@ export default {
return features;
},
scrollToBands(evt) {
let elem = this.$el.querySelector('#field_eo\\:bands');
let elem = this.$el.querySelector('#field_bands');
if (elem) {
elem.scrollIntoView();
elem.classList.add('highlight-box');
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"dependencies": {
"@musement/iso-duration": "^1.0.0",
"@openeo/js-commons": "^1.4.1",
"@openeo/js-processgraphs": "^1.3.0",
"@radiantearth/stac-fields": "^1.0.0",
"@radiantearth/stac-migrate": "~1.0.2",
"@openeo/js-processgraphs": "^1.4.0",
"@radiantearth/stac-fields": "^1.5.0-beta.1",
"@radiantearth/stac-migrate": "^2.0.0-beta.1",
"commonmark": "^0.31.0",
"core-js": "^3.20.0",
"intersects": "^2.7.2",
Expand Down

0 comments on commit cd7d3da

Please sign in to comment.