diff options
| author | bob <bcz@cs.brown.edu> | 2019-03-19 15:50:54 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-03-19 15:50:54 -0400 |
| commit | 5e416c352ebfb875482f890c6362fee5f84af1f6 (patch) | |
| tree | ebae4c0750c2da9194c8a5ed34c0855b4dfaa6a9 /src/client/views/collections/CollectionSchemaView.tsx | |
| parent | 4126d3b15d8a93004df4e6eefe485c9f1fb86a00 (diff) | |
started to integrate Northstar. changed server port to 4321.
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 50f5e9618..062babe58 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -9,7 +9,6 @@ import { Field, Opt } from "../../../fields/Field"; import { KeyStore } from "../../../fields/KeyStore"; import { CompileScript, ToField } from "../../util/Scripting"; import { Transform } from "../../util/Transform"; -import { ContextMenu } from "../ContextMenu"; import { EditableView } from "../EditableView"; import { DocumentView } from "../nodes/DocumentView"; import { FieldView, FieldViewProps } from "../nodes/FieldView"; @@ -27,8 +26,7 @@ import { ListField } from "../../../fields/ListField"; @observer class KeyToggle extends React.Component<{ keyId: string, checked: boolean, toggle: (key: Key) => void }> { - @observable - key: Key | undefined; + @observable key: Key | undefined; componentWillReceiveProps() { Server.GetField(this.props.keyId, action((field: Opt<Field>) => { |
