mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor(core): move setting dialog to workspace scope (#9706)
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
configureDesktopApiModule,
|
||||
DesktopApiService,
|
||||
} from '@affine/core/modules/desktop-api';
|
||||
import { GlobalDialogService } from '@affine/core/modules/dialogs';
|
||||
import { WorkspaceDialogService } from '@affine/core/modules/dialogs';
|
||||
import { DocsService } from '@affine/core/modules/doc';
|
||||
import {
|
||||
configureSpellCheckSettingModule,
|
||||
@@ -124,7 +124,7 @@ window.addEventListener('unload', () => {
|
||||
});
|
||||
|
||||
events?.applicationMenu.openAboutPageInSettingModal(() =>
|
||||
frameworkProvider.get(GlobalDialogService).open('setting', {
|
||||
frameworkProvider.get(WorkspaceDialogService).open('setting', {
|
||||
activeTab: 'about',
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user