From acd6eb3d9e31366b8831ba73fcf65dbf2f68fbe7 Mon Sep 17 00:00:00 2001 From: Clark McAdoo Date: Tue, 20 Dec 2022 17:13:33 -0600 Subject: [PATCH] fix: add ternary to tessen event to avoid sending empty array --- src/components/InstallButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/InstallButton.js b/src/components/InstallButton.js index 1b22b1d2..30733c5d 100644 --- a/src/components/InstallButton.js +++ b/src/components/InstallButton.js @@ -195,7 +195,7 @@ const InstallButton = ({ quickstartId: quickstart.id, quickstartUrl: quickstart.packUrl, super_tiles_treatment: treatment, - urlParameters: Object.entries([...parameters]), + urlParameters: parameters ? Object.entries([...parameters]) : null, partner: isNRPartner(quickstart.keywords), quickstartButtonText: hasInstallableComponent ? 'Install quickstart'