mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: do not track empty strings in playground token input (#5159)
do not track empty strings in playground token input Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
87fd924be3
commit
05f4c22f7c
@ -184,7 +184,7 @@ export const AdvancedPlayground: VFC<{
|
|||||||
|
|
||||||
setHasFormBeenSubmitted(true);
|
setHasFormBeenSubmitted(true);
|
||||||
|
|
||||||
if (token) {
|
if (token && token !== '') {
|
||||||
trackEvent('playground_token_input_used');
|
trackEvent('playground_token_input_used');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user