-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix integration imports for table and card view #2147
Conversation
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
@@ -94,7 +94,7 @@ export function AddedIntegrationsTable(props: AddedIntegrationsTableProps) { | |||
truncateText: true, | |||
render: (value, record) => ( | |||
<EuiText data-test-subj={`${record.templateName}IntegrationDescription`}> | |||
{truncate(record.dataSourceMDSLabel || 'Local cluster', { length: 100 })} | |||
{_.truncate(record.dataSourceMDSLabel || 'Local cluster', { length: 100 })} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there was a PR to remove importing full lodash library, does this increase loaded javascript size for users?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That lodash PR wasn't backported, hence there was this import issue when the MDS PR was being backported.
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> (cherry picked from commit 7a63a9e) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 7a63a9e) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Latest Observability on 2.x/2.17 fails to load the integrations plugin due to import error.
Issues Resolved
Fix integration imports for table and card view
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.