aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LoadingBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-06-02 17:52:39 -0400
committerbobzel <zzzman@gmail.com>2025-06-02 17:52:39 -0400
commit14f4b5c06afeed7e362de32c268fc6631e62b6b7 (patch)
treeb1c56fb193b9c2560bfff11ac2657ebe92c22ad6 /src/client/views/nodes/LoadingBox.tsx
parent83bfca49c38e12dc575b5037c8fac25f3c21d6c5 (diff)
parent8b6f03c191a355a34fa01183ce2b6bd86240ebaf (diff)
Merge branch 'master' into task_nodes_aarav
Diffstat (limited to 'src/client/views/nodes/LoadingBox.tsx')
-rw-r--r--src/client/views/nodes/LoadingBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LoadingBox.tsx b/src/client/views/nodes/LoadingBox.tsx
index 325ab18b4..4220ce5f1 100644
--- a/src/client/views/nodes/LoadingBox.tsx
+++ b/src/client/views/nodes/LoadingBox.tsx
@@ -43,7 +43,7 @@ export class LoadingBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
@observable progress = '';
componentDidMount() {
if (!Doc.CurrentlyLoading?.includes(this.Document)) {
- this.Document.loadingError = 'Upload interrupted, please try again';
+ this.Document.loadingError ??= 'Upload interrupted, please try again';
} else {
const updateFunc = async () => {
const result = await Networking.QueryYoutubeProgress(StrCast(this.Document[Id])); // We use the guid of the overwriteDoc to track file uploads.