Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: return database rows on open

ascarbek034d4d9bf4b5
diff --git a/frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts b/frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
index 918be53b65..9c09eecacd 100644
--- a/frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
+++ b/frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
@@ -65,7 +65,7 @@ export class DatabaseController {
this.databaseViewCache.initializeWithRows(database.rows);
this._callback?.onViewChanged?.(database);
- return loadGroupResult;
+ return Ok(database.rows);
} else {
return Err(openDatabaseResult.val);
}