From 52b1ce1e98b3f31310633f06cb75cdd9b2e2ce94 Mon Sep 17 00:00:00 2001 From: baloola Date: Wed, 24 Jul 2024 16:28:07 +0200 Subject: [PATCH] customize raster bands table --- src/components/metadata/MetadataTable.vue | 3 +++ src/locales/en/custom.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/metadata/MetadataTable.vue b/src/components/metadata/MetadataTable.vue index 456aac9..db8ac9a 100644 --- a/src/components/metadata/MetadataTable.vue +++ b/src/components/metadata/MetadataTable.vue @@ -59,6 +59,9 @@ export default { }, tblFields() { let fields = []; + if (this.field == "raster:bands" ){ + this.itemOrder = this.itemOrder.sort() + } for(let key of this.itemOrder) { let col = this.items[key]; fields.push({ diff --git a/src/locales/en/custom.json b/src/locales/en/custom.json index e3931ef..78a8c7a 100644 --- a/src/locales/en/custom.json +++ b/src/locales/en/custom.json @@ -3,6 +3,6 @@ "description": "" }, "fields": { - + "Raster Imagery": "Data Cube Content" } }