aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-03 23:50:22 -0400
committerbobzel <zzzman@gmail.com>2020-08-03 23:50:22 -0400
commit3bbabb64695650fc632fdf88286094f457adb838 (patch)
tree9a5be71c2d518e5404f811cd6f937ff831776c5e /src/client/views/nodes/WebBox.tsx
parent17cc7ae30f08e00c10398214070b5664ad221a03 (diff)
starting to cleanup search
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r--src/client/views/nodes/WebBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx
index 1313bded7..646a94aa7 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.props.Document.text = htmlToText.fromString(result.content);
+ this.dataDoc.text = htmlToText.fromString(result.content);
}
}
}