From 6f071ac01fca794e2bc29b15414dea703f030dcd Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 2 Jun 2025 15:36:45 -0400
Subject: fixed loading error message

---
 src/client/views/nodes/LoadingBox.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/nodes/LoadingBox.tsx')

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.
-- 
cgit v1.2.3-70-g09d2

