Skip to content

Commit

Permalink
EPMRPP-92637 || Wrong value in "element_name" parameter is sent when …
Browse files Browse the repository at this point in the history
…clicking on Dashboard name (#3929)
  • Loading branch information
maria-hambardzumian authored Jul 24, 2024
1 parent f1e5e88 commit 3254b87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ export const DASHBOARD_EVENTS = {
number: dashboardId,
}),

clickOnDashboardName: (dashboardName, dashboardId) => ({
clickOnDashboardName: (dashboardId) => ({
...getBasicClickEventParameters(DASHBOARDS),
element_name: dashboardName,
element_name: 'dashboard_name',
number: dashboardId,
}),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const NameColumn = track()(
className={cx(className, 'name')}
to={{ type: PROJECT_DASHBOARD_ITEM_PAGE, payload: { projectId, dashboardId } }}
onClick={() => {
trackEvent(DASHBOARD_EVENTS.clickOnDashboardName(name, dashboardId));
trackEvent(DASHBOARD_EVENTS.clickOnDashboardName(dashboardId));
}}
>
{name}
Expand Down

0 comments on commit 3254b87

Please sign in to comment.