From 9382b70180571e315d5280346113d6194b25fdb6 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 26 Aug 2021 12:35:54 +0200 Subject: [PATCH] add item.id in the payload to matomo --- .../file-explorer/src/lib/file-explorer-context-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx index 3d85829294..bc8014f167 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx @@ -108,7 +108,7 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) => deletePath(getPath()) break default: - _paq.push(['trackEvent', 'fileExplorer', 'customAction', item.name]) + _paq.push(['trackEvent', 'fileExplorer', 'customAction', `${item.id}${item.name}`]) emit && emit({ ...item, path: [path] } as customAction) break }