feat: fix data center
This commit is contained in:
@@ -186,7 +186,7 @@ export class DataCenter {
|
|||||||
*/
|
*/
|
||||||
public async onWorkspacesChange(
|
public async onWorkspacesChange(
|
||||||
callback: (workspaces: WorkspaceUnitCollectionChangeEvent) => void,
|
callback: (workspaces: WorkspaceUnitCollectionChangeEvent) => void,
|
||||||
{ immediate = true }: { immediate?: boolean }
|
{ immediate = true }: { immediate?: boolean } = {}
|
||||||
) {
|
) {
|
||||||
if (immediate) {
|
if (immediate) {
|
||||||
callback({
|
callback({
|
||||||
|
|||||||
Reference in New Issue
Block a user