diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-14 17:27:19 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-14 17:27:19 -0400 |
| commit | 866561aa20aff0f570d31edf64eae36cd2d35279 (patch) | |
| tree | 3e3e8c4922ad4d4cafc24620754ec95d55c64ce8 /src/client/views/collections/collectionFreeForm/FormatShapePane.tsx | |
| parent | 8db52ec4cabe3a7f8568cfc7547cfd87e3aa0ae7 (diff) | |
fixed onClickHandler stuff to use functions properly. fixed several linking to annotations/pushpins problems.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/FormatShapePane.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/FormatShapePane.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx b/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx index 9d9ce7f36..4e328d838 100644 --- a/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx +++ b/src/client/views/collections/collectionFreeForm/FormatShapePane.tsx @@ -31,7 +31,7 @@ export default class FormatShapePane extends AntimodeMenu { getField(key: string) { return this.selectedInk?.reduce((p, i) => - (p === undefined || (p && p === i.rootDoc[key])) && i.rootDoc[key] !== "0" ? Field.toString(i.rootDoc[key] as Field) : "", undefined as Opt<string>) + (p === undefined || (p && p === i.rootDoc[key])) && i.rootDoc[key] !== "0" ? Field.toString(i.rootDoc[key] as Field) : "", undefined as Opt<string>); } @computed get selectedInk() { |
