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
fix(conditional-formatting): reopen panel and update panel (#2608)
Gpound.liub4460caff347
diff --git a/packages/sheets-conditional-formatting-ui/src/controllers/cf.menu.controller.ts b/packages/sheets-conditional-formatting-ui/src/controllers/cf.menu.controller.tsindex a727d42fbd..8d6ad40360 100644--- a/packages/sheets-conditional-formatting-ui/src/controllers/cf.menu.controller.ts+++ b/packages/sheets-conditional-formatting-ui/src/controllers/cf.menu.controller.ts@@ -16,7 +16,7 @@import type { IDisposable } from '@wendellhu/redi';import { Inject, Injector } from '@wendellhu/redi';-import { Disposable, IUniverInstanceService, LifecycleStages, LocaleService, OnLifecycle, UniverInstanceType } from '@univerjs/core';+import { Disposable, IUniverInstanceService, LifecycleStages, LocaleService, OnLifecycle, Tools, UniverInstanceType } from '@univerjs/core';import type { MenuConfig } from '@univerjs/ui';import { ComponentManager, IMenuService, ISidebarService } from '@univerjs/ui';import type { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';@@ -62,6 +62,7 @@ export class ConditionalFormattingMenuController extends Disposable {children: {label: CF_PANEL_KEY,rule,+ key: Tools.generateRandomId(4),},onClose: () => this._sidebarDisposable = null,};