diff options
author | bobzel <zzzman@gmail.com> | 2023-04-18 10:05:01 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-04-18 10:05:01 -0400 |
commit | f83e5d34794ef675d4627ecef2ed7042b17b1b06 (patch) | |
tree | 33eda0dc9dea7b7a8a71487d5cc32514a51aeb4b /src/client/views/nodes/formattedText/DashFieldView.tsx | |
parent | 57983d95ceeb364e3e0a282daea13035114ddb3f (diff) |
cleaning up zip/unzip of files
Diffstat (limited to 'src/client/views/nodes/formattedText/DashFieldView.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/DashFieldView.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/nodes/formattedText/DashFieldView.tsx b/src/client/views/nodes/formattedText/DashFieldView.tsx index c43206629..72e8aedac 100644 --- a/src/client/views/nodes/formattedText/DashFieldView.tsx +++ b/src/client/views/nodes/formattedText/DashFieldView.tsx @@ -101,11 +101,7 @@ export class DashFieldViewInternal extends React.Component<IDashFieldViewInterna this._textBoxDoc = this.props.tbox.props.Document; if (this.props.docId) { - DocServer.GetRefField(this.props.docId).then( - action(async dashDoc => { - dashDoc instanceof Doc && (this._dashDoc = dashDoc); - }) - ); + DocServer.GetRefField(this.props.docId).then(action(dashDoc => dashDoc instanceof Doc && (this._dashDoc = dashDoc))); } else { this._dashDoc = this.props.tbox.rootDoc; } |