aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-01-28 13:57:10 -0500
committerbobzel <zzzman@gmail.com>2021-01-28 13:57:10 -0500
commit61076c3ca711a8d3af01010b2375e3683e26fb8d (patch)
tree95248aca099afee6d2922e63e4c2dc0265819e6b /src/client/views/collections
parent663f888a8948cd4081ed5bc5b00c1c51e3db83a5 (diff)
from last
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx
index 801433151..893f2c53b 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -172,7 +172,7 @@ export class CollectionStackedTimeline extends CollectionSubView<PanZoomDocument
createAnchor(anchorStartTime?: number, anchorEndTime?: number) {
if (anchorStartTime === undefined) return this.props.Document;
const anchor = Docs.Create.LabelDocument({
- title: ComputedField.MakeFunction(`"#" + formatToTime(self.anchorStartTime) + "-" + formatToTime(self.anchorEndTime)`) as any,
+ title: ComputedField.MakeFunction(`"#" + formatToTime(self["${this.props.startTag}"]) + "-" + formatToTime(self["${this.props.endTag}"])`) as any,
useLinkSmallAnchor: true,
hideLinkButton: true,
annotationOn: this.props.Document