chore: minor integrations UI cleanups (#4661)

This commit is contained in:
Raj Kamal Singh 2024-03-07 19:57:14 +05:30 committed by GitHub
parent a295bf2fb6
commit c842e68288
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -18,9 +18,9 @@ interface OverviewProps {
function Overview(props: OverviewProps): JSX.Element {
const { categories, assets, overviewContent } = props;
const assetsCount = [
assets.logs.pipelines.length,
assets.dashboards.length,
assets.alerts.length,
assets?.logs?.pipelines?.length || 0,
assets?.dashboards?.length || 0,
assets?.alerts?.length || 0,
];
const assetLabelMap = ['Pipelines', 'Dashboards', 'Alerts'];

View File

@ -41,7 +41,7 @@ function IntergrationsUninstallBar(
const handleOk = (): void => {
uninstallIntegration({
integrationId,
integration_id: integrationId,
});
};

View File

@ -97,7 +97,7 @@ export interface InstalledIntegrationsSuccessResponse {
}
export interface UninstallIntegrationProps {
integrationId: string;
integration_id: string;
}
export interface UninstallIntegrationSuccessResponse {