@fluid-topics/ft-reader-context 1.2.38 → 1.2.40

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.
@@ -110,7 +110,7 @@ export class FtReaderService extends FtServiceWithCache {
110
110
  return this.cache.get("topic-relatives-" + [mapId, metadataPivotKey, ...metadataPivotValues].join("-"), () => this.fetchRelativesForTopicInMap(mapId, metadataPivotKey, metadataPivotValues));
111
111
  }
112
112
  getAttachmentDownloadLink(id) {
113
- return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(id).content}?download=true`);
113
+ return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(id).content}?download=true&locationValue=reader`);
114
114
  }
115
115
  getLink(tocId, pageNumber, section) {
116
116
  const navigationData = this.getNavigationData(tocId, pageNumber, section);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-context",
3
- "version": "1.2.38",
3
+ "version": "1.2.40",
4
4
  "description": "Context block for integrated reader components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,13 +19,13 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-app-context": "1.2.38",
23
- "@fluid-topics/ft-wc-utils": "1.2.38",
22
+ "@fluid-topics/ft-app-context": "1.2.40",
23
+ "@fluid-topics/ft-wc-utils": "1.2.40",
24
24
  "@reduxjs/toolkit": "^1.6.2",
25
25
  "lit": "3.1.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@fluid-topics/public-api": "1.0.88"
29
29
  },
30
- "gitHead": "7166528af3c14a25cea3c75d747b1ec08a93e38e"
30
+ "gitHead": "497ff25b92883ae04f9f7080aa78ff605596a06d"
31
31
  }