Browse Source

:bug: https://github.com/siyuan-note/siyuan/issues/8838

Vanessa 1 year ago
parent
commit
e4c826e993
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/src/protyle/util/onGet.ts

+ 3 - 1
app/src/protyle/util/onGet.ts

@@ -104,7 +104,9 @@ export const onGet = (options: {
             isSyncing: options.data.data.isSyncing,
             afterCB: options.afterCB,
         }, options.protyle);
-        setTitle(response.data.ial.title);
+        if (options.protyle.model) {
+            setTitle(response.data.ial.title);
+        }
         removeLoading(options.protyle);
     });
 };