@yudaocode/univer-docs-ui 1.6.204 → 1.6.205
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +12 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/es/index.js +12 -1
- package/lib/es/index.js.map +1 -1
- package/package.json +3 -3
package/lib/cjs/index.js
CHANGED
|
@@ -7532,7 +7532,18 @@ var DocsExtUIController = class extends import_core7.Disposable {
|
|
|
7532
7532
|
this._initMenus();
|
|
7533
7533
|
this._initWorkbenchParts();
|
|
7534
7534
|
if (this._config.defaultOpenInspector && this._config.features?.sdtControls) {
|
|
7535
|
-
|
|
7535
|
+
let disposed = false;
|
|
7536
|
+
const timer = setTimeout(() => {
|
|
7537
|
+
if (!disposed) {
|
|
7538
|
+
openDocInspectorSidebar(this._sidebarService);
|
|
7539
|
+
}
|
|
7540
|
+
}, 120);
|
|
7541
|
+
this.disposeWithMe({
|
|
7542
|
+
dispose: () => {
|
|
7543
|
+
disposed = true;
|
|
7544
|
+
clearTimeout(timer);
|
|
7545
|
+
}
|
|
7546
|
+
});
|
|
7536
7547
|
}
|
|
7537
7548
|
}
|
|
7538
7549
|
_initLocales() {
|