From a7053fd9b5ec3f4940c0ff03dd664a03bb659bae Mon Sep 17 00:00:00 2001 From: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com> Date: Thu, 30 Mar 2023 11:56:04 +0530 Subject: [PATCH] console: fix quick add dropdown of add operation from allow-list PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8548 GitOrigin-RevId: 3b90caf1c7d0a36176a2708609b976f833f1be77 --- .../components/QueryCollectionOperationDialog/QuickAdd.tsx | 1 + .../src/lib/new-components/DropdownMenu/DropdownMenu.tsx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/libs/console/legacy-ce/src/lib/features/QueryCollections/components/QueryCollectionOperationDialog/QuickAdd.tsx b/frontend/libs/console/legacy-ce/src/lib/features/QueryCollections/components/QueryCollectionOperationDialog/QuickAdd.tsx index be61fc58a72..308a9d1f2e5 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/QueryCollections/components/QueryCollectionOperationDialog/QuickAdd.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/QueryCollections/components/QueryCollectionOperationDialog/QuickAdd.tsx @@ -134,6 +134,7 @@ export const QuickAdd = (props: QuickAddProps) => { className: 'z-[101]', }, }} + zIndex="z-[102]" items={[ [...quickOperations, ...graphiqlQueries].map(operation => (
; }; items: React.ReactNode[][]; + zIndex?: string; } export const DropdownMenu: React.FC = ({ children, items, options, + zIndex = 'z-[101]', }) => ( {children} @@ -66,7 +68,7 @@ export const DropdownMenu: React.FC = ({
{items.map((group, groupIndex) => (