From b453414dc2bb11d56c5dcb2a73d389eefabff7d5 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 2 Sep 2024 12:16:43 -0400 Subject: cleaned up updateIcon to use promises to avoid a bunch of setTimeouts --- .../views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/collections/collectionFreeForm') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 880d1cd74..4b4a07757 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1878,7 +1878,7 @@ export class CollectionFreeFormView extends CollectionSubView UpdateIcon( - this.layoutDoc[Id] + '-icon' + new Date().getTime(), + this.layoutDoc[Id] + '_icon_' + new Date().getTime(), this.DocumentView?.().ContentDiv!, usePanelDimensions ? this._props.PanelWidth() : NumCast(this.layoutDoc._width), usePanelDimensions ? this._props.PanelHeight() : NumCast(this.layoutDoc._height), -- cgit v1.2.3-70-g09d2