Skip to content

Commit

Permalink
Use function introduced for retrieving current path.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisoelkers committed Jul 12, 2024
1 parent 6215467 commit 836412b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { InputsStore } from 'stores/inputs/InputsStore';
import useSendTelemetry from 'logic/telemetry/useSendTelemetry';
import { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';
import { TableDataCell } from 'views/components/datatable';
import { getPathnameWithoutId, currentPathnameWithoutPrefix } from 'util/URLUtils';

import MessageDetail from './MessageDetail';
import DecoratedValue from './decoration/DecoratedValue';
Expand Down Expand Up @@ -141,6 +142,7 @@ const MessageTableEntry = ({

if (!isSelectingText) {
sendTelemetry(TELEMETRY_EVENT_TYPE.SEARCH_MESSAGE_TABLE_DETAILS_TOGGLED, {
app_pathname: getPathnameWithoutId(currentPathnameWithoutPrefix()),
app_section: 'widget',
app_action_value: 'widget-message-table-toggle-details',
});
Expand Down

0 comments on commit 836412b

Please sign in to comment.