Skip to content

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.

chore: recover delete api (#4292)

ybzkyc5e1921f5df3
diff --git a/packages/sheets/src/facade/f-permission.ts b/packages/sheets/src/facade/f-permission.ts
index a8d1b53ac1..919e9cf8c3 100644
--- a/packages/sheets/src/facade/f-permission.ts
+++ b/packages/sheets/src/facade/f-permission.ts
@@ -289,4 +289,13 @@ export class FPermission extends FBase {
});
}
}
+
+ /**
+ * Set visibility of unauthorized pop-up window
+ *
+ * @param {boolean} visible
+ */
+ setPermissionDialogVisible(visible: boolean): void {
+ this._permissionService.setShowComponents(visible);
+ }
}