aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PresentationView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/PresentationView.tsx')
-rw-r--r--src/client/views/PresentationView.tsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/client/views/PresentationView.tsx b/src/client/views/PresentationView.tsx
index 9ba812ba0..bbd3bf71a 100644
--- a/src/client/views/PresentationView.tsx
+++ b/src/client/views/PresentationView.tsx
@@ -5,7 +5,6 @@ import { ListField } from "../../fields/ListField";
import React = require("react")
import { TextField } from "../../fields/TextField";
import { observable, action } from "mobx";
-import "./CollectionTreeView.scss";
export interface PresViewProps {
Document: Document;
@@ -20,6 +19,7 @@ class PresentationViewItem extends React.Component<PresViewProps> {
//observable means render is re-called every time variable is changed
@observable
collapsed: boolean = false;
+ //TODO: this var isn't needed
/**
* Renders a single child document. It will just append a list element.
@@ -54,6 +54,15 @@ class PresentationViewItem extends React.Component<PresViewProps> {
@observer
export class PresentationView extends React.Component<PresViewProps> {
+ public static Instance: PresentationView;
+
+ /**
+ * Adds a document to the presentation view
+ **/
+ @action
+ public PinDoc(document: Document) {
+
+ }
render() {
let titleStr = "";