Skip to content

Commit

Permalink
Fix data-connection objects title in saved-objects page (#8209)
Browse files Browse the repository at this point in the history
Signed-off-by: Megha Goyal <[email protected]>
  • Loading branch information
goyamegh committed Sep 17, 2024
1 parent 5d1c21b commit b826df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ export enum DataConnectionType {
SecurityLake = 'AWS Security Lake',
NA = 'None',
}

export const DATA_CONNECTION_ID_LENGTH_LIMIT = 32;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export const dataConnection: SavedObjectsType = {
icon: 'apps',
defaultSearchField: 'connectionId',
importableAndExportable: true,
getTitle(obj) {
return obj.attributes.connectionId;
},
},
mappings: {
dynamic: false,
Expand Down

0 comments on commit b826df8

Please sign in to comment.