diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-02-26 19:27:34 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-02-26 19:27:34 -0500 |
commit | 183cff4ed4c4a5f20abcb7b56a9921c1f0a33089 (patch) | |
tree | 605d258a9b9dd5a27c0484677a4d510b493ebd5c /src/client/views/nodes/FieldView.tsx | |
parent | 56e27c653f73d0846b93f56e355619e142b76500 (diff) |
removed WebView
Diffstat (limited to 'src/client/views/nodes/FieldView.tsx')
-rw-r--r-- | src/client/views/nodes/FieldView.tsx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx index 4e8abd682..f34574234 100644 --- a/src/client/views/nodes/FieldView.tsx +++ b/src/client/views/nodes/FieldView.tsx @@ -12,8 +12,6 @@ import { Key } from "../../../fields/Key"; import { FormattedTextBox } from "./FormattedTextBox"; import { ImageBox } from "./ImageBox"; import { WebBox } from "./WebBox"; -import { HtmlField } from "../../../fields/HtmlField"; -import { WebView } from "./WebView"; // // these properties get assigned through the render() method of the DocumentView when it creates this node. @@ -58,9 +56,6 @@ export class FieldView extends React.Component<FieldViewProps> { else if (field instanceof NumberField) { return <p>{field.Data}</p> } - else if (field instanceof WebField) { - return <WebView {...this.props} /> - } else if (field != FieldWaiting) { return <p>{JSON.stringify(field.GetValue())}</p> } |