From abefc3ded3d5d532616a0d71f948f15a8224bd9c Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Mon, 17 Mar 2025 19:48:17 -0300 Subject: [PATCH] fix: reposition and disable shareable playground toggle on empty flow (#7111) * Fixed deploy dropdown classes * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- src/frontend/package-lock.json | 1 - .../src/components/core/dropdownComponent/index.tsx | 4 +++- .../flowToolbarComponent/components/deploy-dropdown.tsx | 9 ++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/frontend/package-lock.json b/src/frontend/package-lock.json index 0a730b1b5..445a9f8e4 100644 --- a/src/frontend/package-lock.json +++ b/src/frontend/package-lock.json @@ -706,7 +706,6 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", - "extraneous": true, "inBundle": true, "license": "MIT", "engines": { diff --git a/src/frontend/src/components/core/dropdownComponent/index.tsx b/src/frontend/src/components/core/dropdownComponent/index.tsx index 44a49b9a9..0ad0623ef 100644 --- a/src/frontend/src/components/core/dropdownComponent/index.tsx +++ b/src/frontend/src/components/core/dropdownComponent/index.tsx @@ -203,7 +203,9 @@ export default function Dropdown({ className="h-4 w-4" /> )} - {value && filteredOptions.includes(value) ? value : placeholderName}{" "} + {value && filteredOptions.includes(value) + ? value + : placeholderName}{" "}
{ e.preventDefault(); e.stopPropagation();