mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: return database rows on open
This commit is contained in:
parent
ed977868cf
commit
034d4d9bf4
@ -65,7 +65,7 @@ export class DatabaseController {
|
|||||||
this.databaseViewCache.initializeWithRows(database.rows);
|
this.databaseViewCache.initializeWithRows(database.rows);
|
||||||
|
|
||||||
this._callback?.onViewChanged?.(database);
|
this._callback?.onViewChanged?.(database);
|
||||||
return loadGroupResult;
|
return Ok(database.rows);
|
||||||
} else {
|
} else {
|
||||||
return Err(openDatabaseResult.val);
|
return Err(openDatabaseResult.val);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user