Skip to content

Commit

Permalink
feat: hide workspace from saved objects management page
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe committed Jul 21, 2023
1 parent 9f02287 commit a9aa965
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/core/server/workspaces/saved_objects/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ export const workspace: SavedObjectsType = {
name: WORKSPACE_TYPE,
namespaceType: 'agnostic',
hidden: false,
management: {
icon: 'apps', // todo: pending ux #2034
defaultSearchField: 'title',
importableAndExportable: true,
getTitle(obj) {
return obj.attributes.name;
},
},
/**
* workspace won't appear in management page.
*/
mappings: {
dynamic: false,
properties: {
Expand Down

0 comments on commit a9aa965

Please sign in to comment.