diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-19 22:39:51 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-19 22:39:51 -0400 |
| commit | da8901bef2d4a0362354c69fe486076a67f8efc4 (patch) | |
| tree | 35825255e04ba892b570a614a6d4449d8d87d659 /src/client/views/nodes/DocumentView.tsx | |
| parent | 5b7d51d47a967e679d17560771efe71522ada13a (diff) | |
cleaning lint errors
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 7cf6b0f39..590befd86 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -713,7 +713,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu } const cm = ContextMenu.Instance; - if (!cm || ((e as any)?.nativeEvent as any)?.SchemaHandled) return; + if (!cm || (e?.nativeEvent as any)?.SchemaHandled) return; const customScripts = Cast(this.props.Document.contextMenuScripts, listSpec(ScriptField), []); Cast(this.props.Document.contextMenuLabels, listSpec("string"), []).forEach((label, i) => |
