Skip to content

Commit

Permalink
Fix getting started cards re-direction to integrations (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#2146)

Signed-off-by: Shenoy Pratik <[email protected]>
  • Loading branch information
ps48 authored Sep 9, 2024
1 parent 462b8f5 commit 279463a
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@
* SPDX-License-Identifier: Apache-2.0
*/

import React, { useState, useEffect } from 'react';
import {
EuiBadge,
EuiCard,
EuiFieldSearch,
EuiFilterButton,
EuiFilterGroup,
EuiFilterSelectItem,
EuiPopover,
EuiPopoverTitle,
EuiFlexGroup,
EuiFlexItem,
EuiCard,
EuiText,
EuiBadge,
EuiPopover,
EuiPopoverTitle,
EuiSpacer,
EuiText,
} from '@elastic/eui';
import React, { useEffect, useState } from 'react';
import { observabilityIntegrationsID } from '../../../../common/constants/shared';
import { coreRefs } from '../../../../public/framework/core_refs';

export const IntegrationCards = () => {
Expand Down Expand Up @@ -148,7 +149,11 @@ export const IntegrationCards = () => {
description={integration.description}
data-test-subj={`integration_card_${integration.name.toLowerCase()}`}
titleElement="span"
href={`/app/integrations#/available/${integration.name}`}
onClick={() =>
coreRefs?.application?.navigateToApp(observabilityIntegrationsID, {
path: `#/available/${integration.name}`,
})
}
footer={
<div>
{integration.labels &&
Expand Down

0 comments on commit 279463a

Please sign in to comment.