Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: no background is needed to mark dirty (#5039)
ybzky0d9fc043aa39
diff --git a/packages/sheets-ui/src/controllers/permission/sheet-permission-render.controller.ts b/packages/sheets-ui/src/controllers/permission/sheet-permission-render.controller.tsindex 0200472f8d..ab54d64236 100644--- a/packages/sheets-ui/src/controllers/permission/sheet-permission-render.controller.ts+++ b/packages/sheets-ui/src/controllers/permission/sheet-permission-render.controller.ts@@ -94,11 +94,11 @@ export class SheetPermissionRenderController extends Disposable implements IRendsuper();const config = this._configService.getConfig<IUniverSheetsUIConfig>(SHEETS_UI_PLUGIN_CONFIG_KEY);+ this._initSkeleton();if (config?.customComponents?.has(UNIVER_SHEET_PERMISSION_BACKGROUND)) {return;}this._initRender();- this._initSkeleton();this.disposeWithMe(this._rangeProtectionRuleModel.ruleChange$.subscribe((info) => {if ((info.oldRule?.id && this._rangeProtectionCanViewRenderExtension.renderCache.has(info.oldRule.id)) || this._rangeProtectionCanViewRenderExtension.renderCache.has(info.rule.id)) {@@ -149,12 +149,12 @@ export class WorksheetProtectionRenderController extends Disposable implements Isuper();const config = this._configService.getConfig<IUniverSheetsUIConfig>(SHEETS_UI_PLUGIN_CONFIG_KEY);+ this._initSkeleton();if (config?.customComponents?.has(UNIVER_SHEET_PERMISSION_BACKGROUND)) {return;}this._initRender();- this._initSkeleton();}private _initRender() {