@startinblox/components-ds4go 3.1.7 → 3.1.8

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.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import "./index-VPaDWRHi.js";
1
+ import "./index-BnYzxewI.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startinblox/components-ds4go",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "description": "Startin'blox DS4GO",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -190,26 +190,30 @@ export class Ds4goDsifExplorerPocHolder extends LitElement {
190
190
  });
191
191
  }
192
192
 
193
+ if (dataset.catalogTitle) {
194
+ tags.push({ name: formatCase(dataset.catalogTitle), type: "information" });
195
+ }
196
+
197
+ if (dataset.sectorName) {
198
+ tags.push({ name: formatCase(dataset.sectorName), type: "neutral" });
199
+ }
200
+
193
201
  if (dataset["dspace:assetId"]) {
194
202
  tags.push({
195
203
  name:
196
204
  dataset["dspace:assetId"].split(":").pop() ||
197
205
  dataset["dspace:assetId"],
198
- type: "info",
206
+ type: "neutral",
199
207
  });
200
208
  }
201
209
 
202
- if (dataset.sectorName) {
203
- tags.push({ name: formatCase(dataset.sectorName), type: "neutral" });
204
- }
205
-
206
210
  if (
207
211
  dataset["dsif:previewLinks"] &&
208
212
  dataset["dsif:previewLinks"].length > 0
209
213
  ) {
210
214
  tags.push({
211
215
  name: `${dataset["dsif:previewLinks"].length} previews`,
212
- type: "info",
216
+ type: "information",
213
217
  });
214
218
  }
215
219