Skip to content

Commit

Permalink
fix: update permission init timing (#4770)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybzky authored Mar 4, 2025
1 parent 323fe3f commit 5099acf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/sheets-ui/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ export class UniverSheetsUIPlugin extends Plugin {
[SheetPermissionCheckUIController],
[SheetPermissionRenderManagerController],
] as Dependency[], this._config.override));

touchDependencies(this._injector, [
[SheetPermissionInitUIController],
]);
}

override onReady(): void {
Expand All @@ -184,6 +180,7 @@ export class UniverSheetsUIPlugin extends Plugin {
[SheetsRenderService],
[ActiveWorksheetController],
[SheetPermissionCheckUIController],
[SheetPermissionInitUIController],
]);
}

Expand Down

0 comments on commit 5099acf

Please sign in to comment.