mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-18 16:35:59 +08:00
chore: minor integrations UI cleanups (#4661)
This commit is contained in:
parent
a295bf2fb6
commit
c842e68288
@ -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'];
|
||||
|
@ -41,7 +41,7 @@ function IntergrationsUninstallBar(
|
||||
|
||||
const handleOk = (): void => {
|
||||
uninstallIntegration({
|
||||
integrationId,
|
||||
integration_id: integrationId,
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -97,7 +97,7 @@ export interface InstalledIntegrationsSuccessResponse {
|
||||
}
|
||||
|
||||
export interface UninstallIntegrationProps {
|
||||
integrationId: string;
|
||||
integration_id: string;
|
||||
}
|
||||
|
||||
export interface UninstallIntegrationSuccessResponse {
|
||||
|
Loading…
x
Reference in New Issue
Block a user