Skip to content

Commit

Permalink
Fix osd server crashed due to import from public
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Aug 30, 2024
1 parent 79d6ba7 commit 34c6f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export {
} from './metrics';

export { AppCategory, WorkspaceAttribute } from '../types';
export { DEFAULT_APP_CATEGORIES, WORKSPACE_TYPE } from '../utils';
export { DEFAULT_APP_CATEGORIES, WORKSPACE_TYPE, DEFAULT_NAV_GROUPS } from '../utils';

export {
SavedObject,
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/workspace/server/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
*/

import { schema } from '@osd/config-schema';
import { IRouter, Logger, PrincipalType, ACL } from '../../../../core/server';
import { DEFAULT_NAV_GROUPS } from '../../../../core/public';
import { IRouter, Logger, PrincipalType, ACL, DEFAULT_NAV_GROUPS } from '../../../../core/server';
import { getUseCaseFeatureConfig } from '../../common/utils';
import {
WorkspacePermissionMode,
Expand Down

0 comments on commit 34c6f8d

Please sign in to comment.