diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
| commit | 99931c4ca423d51555c24533a98e921c83c941e1 (patch) | |
| tree | 07baab3cb627eae837c18fb2a6981a746765ec61 /src/client/views/nodes/MapBox/MapPushpinBox.tsx | |
| parent | a197d8d37e62235bfa59bc8e3bb74c39381c30a4 (diff) | |
| parent | 69e286b504c2f1bbef7d489dc675b9e54ef8d983 (diff) | |
Merge branch 'restoringEslint' into eleanor-starter
Diffstat (limited to 'src/client/views/nodes/MapBox/MapPushpinBox.tsx')
| -rw-r--r-- | src/client/views/nodes/MapBox/MapPushpinBox.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/views/nodes/MapBox/MapPushpinBox.tsx b/src/client/views/nodes/MapBox/MapPushpinBox.tsx index 8ebc90157..f3dc44755 100644 --- a/src/client/views/nodes/MapBox/MapPushpinBox.tsx +++ b/src/client/views/nodes/MapBox/MapPushpinBox.tsx @@ -2,6 +2,8 @@ import * as React from 'react'; import { ViewBoxBaseComponent } from '../../DocComponent'; import { FieldView, FieldViewProps } from '../FieldView'; import { MapBoxContainer } from '../MapboxMapBox/MapboxContainer'; +import { Docs } from '../../../documents/Documents'; +import { DocumentType } from '../../../documents/DocumentTypes'; /** * Map Pushpin doc class @@ -28,3 +30,8 @@ export class MapPushpinBox extends ViewBoxBaseComponent<FieldViewProps>() { return <div />; } } + +Docs.Prototypes.TemplateMap.set(DocumentType.PUSHPIN, { + layout: { view: MapPushpinBox, dataField: 'data' }, + options: { acl: '' }, +}); |
