Explorar o código

fix: fix function boolean typo

Ryan Di %!s(int64=3) %!d(string=hai) anos
pai
achega
2816c72c62
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/excalidraw-app/collab/Collab.tsx

+ 1 - 1
src/excalidraw-app/collab/Collab.tsx

@@ -226,7 +226,7 @@ class Collab extends PureComponent<Props, CollabState> {
       preventUnload(event);
     }
 
-    if (this.isCollaborating || this.portal.roomId) {
+    if (this.isCollaborating() || this.portal.roomId) {
       try {
         localStorage?.setItem(
           STORAGE_KEYS.LOCAL_STORAGE_KEY_COLLAB_FORCE_FLAG,