fix: getBlocksuiteWorkspace remove check

This commit is contained in:
alt0 2023-01-11 20:55:08 +08:00
parent 2d1fd3a083
commit 15bdd2f31e

View File

@ -122,8 +122,8 @@ export class DataCenter {
* @param {string} workspaceId workspace id
*/
private _getBlocksuiteWorkspace(workspaceId: string) {
const workspaceInfo = this._workspaceUnitCollection.find(workspaceId);
assert(workspaceInfo, 'Workspace not found');
// const workspaceInfo = this._workspaceUnitCollection.find(workspaceId);
// assert(workspaceInfo, 'Workspace not found');
return (
// this._workspaceInstances.get(workspaceId) ||
createBlocksuiteWorkspace(workspaceId)