diff options
| author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-26 03:37:26 +0800 |
|---|---|---|
| committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-26 03:37:26 +0800 |
| commit | a10d39c3174846406db8097af77568a52e6eb4c0 (patch) | |
| tree | d749ea12ef106ea79cbc668f5a1fc2749f9b9829 /src/client/views/nodes/ImageBox.tsx | |
| parent | e7372931b9d28c141aaec9552041b5644c2f415a (diff) | |
| parent | a7c1aaa0600a01d25b6525d4ae17f1a5086847d0 (diff) | |
Merge branch 'mobile_revision_direct' of https://github.com/browngraphicslab/Dash-Web into mobile_revision_direct
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
| -rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 225d03104..d16aa528c 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -236,6 +236,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps, ImageD if (this._curSuffix === "_m") this._mediumRetryCount++; if (this._curSuffix === "_l") this._largeRetryCount++; } + @action onError = (error: any) => { const timeout = this._curSuffix === "_s" ? this._smallRetryCount : this._curSuffix === "_m" ? this._mediumRetryCount : this._largeRetryCount; if (timeout < 5) { |
