Skip to content

Commit

Permalink
[Workspace]Analytics use case overview and essential use case overvie…
Browse files Browse the repository at this point in the history
…w crashed (#8524)

* Remove collaboratorTypes in renderUseCaseOverviewApp

Signed-off-by: Lin Wang <[email protected]>

* Changeset file for PR #8524 created/updated

---------

Signed-off-by: Lin Wang <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
wanglam and opensearch-changeset-bot[bot] authored Oct 8, 2024
1 parent 61eedf7 commit acc947e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/8524.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- [Workspace]Analytics use case overview and essential use case overview crashed ([#8524](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8524))
2 changes: 1 addition & 1 deletion src/plugins/workspace/public/application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const renderInitialApp = (

export const renderUseCaseOverviewApp = async (
{ element }: AppMountParameters,
services: Services,
services: Omit<Services, 'collaboratorTypes'>,
pageId: string
) => {
ReactDOM.render(
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/workspace/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ export class WorkspacePlugin
workspaceClient,
dataSourceManagement,
contentManagement: contentManagementStart,
collaboratorTypes: this.collaboratorTypes,
};

return renderUseCaseOverviewApp(params, services, ESSENTIAL_OVERVIEW_PAGE_ID);
Expand Down Expand Up @@ -502,7 +501,6 @@ export class WorkspacePlugin
workspaceClient,
dataSourceManagement,
contentManagement: contentManagementStart,
collaboratorTypes: this.collaboratorTypes,
};

return renderUseCaseOverviewApp(params, services, ANALYTICS_ALL_OVERVIEW_PAGE_ID);
Expand Down

0 comments on commit acc947e

Please sign in to comment.