diff options
| author | eeng5 <eleanor_eng@brown.edu> | 2019-08-23 14:43:53 -0400 |
|---|---|---|
| committer | eeng5 <eleanor_eng@brown.edu> | 2019-08-23 14:43:53 -0400 |
| commit | 77487a00589f216b6dbdd764f646c599f9b17ae9 (patch) | |
| tree | ead6ea0caa70f5cbf3bedb459f82f30ef51e6f2c /src/client/views/collections/CollectionSchemaCells.tsx | |
| parent | 601c8d2b0b8197e324f9cbadf525fe03fac5b345 (diff) | |
| parent | b421b50ccc5fd481b40a42945088bb51156fe499 (diff) | |
pulled from master
Diffstat (limited to 'src/client/views/collections/CollectionSchemaCells.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaCells.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSchemaCells.tsx b/src/client/views/collections/CollectionSchemaCells.tsx index 7e3061354..551b485e7 100644 --- a/src/client/views/collections/CollectionSchemaCells.tsx +++ b/src/client/views/collections/CollectionSchemaCells.tsx @@ -40,6 +40,7 @@ export interface CellProps { fieldKey: string; renderDepth: number; addDocTab: (document: Doc, dataDoc: Doc | undefined, where: string) => void; + pinToPres: (document: Doc) => void; moveDocument: (document: Doc, targetCollection: Doc, addDocument: (document: Doc) => boolean) => boolean; isFocused: boolean; changeFocusedCellByIndex: (row: number, col: number) => void; @@ -160,6 +161,7 @@ export class CollectionSchemaCell extends React.Component<CellProps> { PanelHeight: returnZero, PanelWidth: returnZero, addDocTab: this.props.addDocTab, + pinToPres: this.props.pinToPres, ContentScaling: returnOne }; |
