diff options
author | Andy Rickert <andrew_rickert@brown.edu> | 2020-07-31 20:02:17 -0400 |
---|---|---|
committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-07-31 20:02:17 -0400 |
commit | cd535ae81b6300d7b7b907db045c393bdd154ecc (patch) | |
tree | 89c534d265d8a75e2dd23cd5f08a7364b4e3e8f3 /src | |
parent | 1eb12a6dfadf4caf3868d4d5b373859f5999214f (diff) |
bf
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index d30f1499e..a1e641d4a 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -139,7 +139,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps, WebDocum } else if (field?.url) { const result = await WebRequest.get(Utils.CorsProxy(field.url.href)); if (result) { - this.dataDoc.text = htmlToText.fromString(result.content); + this.props.Document.text = htmlToText.fromString(result.content); } } } |