@abi-software/map-side-bar 1.2.0-beta.7 → 1.2.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/map-side-bar",
3
- "version": "1.2.0-beta.7",
3
+ "version": "1.2.0-beta.8",
4
4
  "main": "./dist/map-side-bar.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -197,7 +197,7 @@ export default {
197
197
  }
198
198
  let action = {
199
199
  label: capitalise(this.label),
200
- resource: `${this.envVars.API_LOCATION}s3-resource/${this.datasetId}/${this.datasetVersion}/files/${filePath}`,
200
+ resource: `${this.envVars.API_LOCATION}s3-resource/${this.datasetId}/${this.datasetVersion}/${filePath}`,
201
201
  title: "View plot",
202
202
  type: "Plot",
203
203
  discoverId: this.discoverId,
@@ -266,7 +266,7 @@ export default {
266
266
  filePath = filePath.replaceAll(",", "_");
267
267
  const prefix = this.envVars.NL_LINK_PREFIX;
268
268
  const resource = {
269
- share_link: `${prefix}/dataviewer?datasetId=${this.datasetId}&version=${this.datasetVersion}&path=${filePath}`,
269
+ share_link: `${prefix}/dataviewer?datasetId=${this.datasetId}&version=${this.datasetVersion}&path=files/${filePath}`,
270
270
  };
271
271
  let action = {
272
272
  label: capitalise(this.label),