From 6471ccff7dd145d3725492ccccaecc6035e851f2 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 26 Aug 2020 02:30:44 -0400 Subject: fixed warnings. fixed url / annoation updating when navigating web pages. --- src/client/views/collections/CollectionSchemaCells.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/views/collections/CollectionSchemaCells.tsx') diff --git a/src/client/views/collections/CollectionSchemaCells.tsx b/src/client/views/collections/CollectionSchemaCells.tsx index 95f425524..18ca29aaa 100644 --- a/src/client/views/collections/CollectionSchemaCells.tsx +++ b/src/client/views/collections/CollectionSchemaCells.tsx @@ -169,7 +169,7 @@ export class CollectionSchemaCell extends React.Component { const targetContext = aliasdoc.length <= 0 ? undefined : Cast(aliasdoc[0].context, Doc, null); DocumentManager.Instance.jumpToDocument(this._rowDoc, false, () => undefined, targetContext); } - }; + } renderCellWithType(type: string | undefined) { const dragRef: React.RefObject = React.createRef(); @@ -330,7 +330,7 @@ export class CollectionSchemaDocCell extends CollectionSchemaCell { componentWillUnmount() { this.onBlur(); } - onBlur = () => { this._overlayDisposer?.(); } + onBlur = () => { this._overlayDisposer?.(); }; onFocus = () => { this.onBlur(); this._overlayDisposer = OverlayView.Instance.addElement(, { x: 0, y: 0 }); @@ -443,7 +443,7 @@ export class CollectionSchemaListCell extends CollectionSchemaCell { } render() { - let link = false; + const link = false; const reference = React.createRef(); if (this._optionsList?.length) { -- cgit v1.2.3-70-g09d2