From bd15040bf0661b7afe42aa2b590ba25f9146aff5 Mon Sep 17 00:00:00 2001 From: Donkoko Date: Mon, 28 Aug 2023 16:31:52 +0300 Subject: [PATCH] fixing issue that doesn't allow to delete assets due to conflict with dropdown closing --- app/components/assets/actions-dropdown.tsx | 13 +++++-------- app/components/assets/delete-asset.tsx | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/components/assets/actions-dropdown.tsx b/app/components/assets/actions-dropdown.tsx index 13860bcfd..8c1dd7366 100644 --- a/app/components/assets/actions-dropdown.tsx +++ b/app/components/assets/actions-dropdown.tsx @@ -61,7 +61,7 @@ const ConditionalActionsDropdown = ({ asset }: Props) => { className="order actions-dropdown static w-screen rounded-lg bg-white p-0 text-right md:static md:w-[180px]" >
- + {!assetIsAvailable ? ( )} - + -
setOpen(false)}> +
- +