From 97076b6663589fa5d4e8f37eb11673bc537a385a Mon Sep 17 00:00:00 2001 From: shamsmosowi Date: Mon, 25 Apr 2022 22:18:20 +0300 Subject: [PATCH] cleanup connector field --- src/components/fields/Connector/PopoverCell.tsx | 4 ++-- .../fields/Connector/Select/PopupContents.tsx | 6 ------ src/components/fields/Connector/Settings.tsx | 17 ----------------- 3 files changed, 2 insertions(+), 25 deletions(-) diff --git a/src/components/fields/Connector/PopoverCell.tsx b/src/components/fields/Connector/PopoverCell.tsx index e2d4beb55..3d6a346bb 100644 --- a/src/components/fields/Connector/PopoverCell.tsx +++ b/src/components/fields/Connector/PopoverCell.tsx @@ -1,6 +1,6 @@ import { IPopoverCellProps } from "../types"; -import ConnectServiceSelect from "./Select"; +import Selector from "./Select"; export default function ConnectService({ value, @@ -12,7 +12,7 @@ export default function ConnectService({ docRef, }: IPopoverCellProps) { return ( - {hits.map((hit) => { const isSelected = selectedValues.some((v) => v === hit[elementId]); - console.log({ - isSelected, - selectedValues, - elementId, - }); return (
@@ -80,7 +64,6 @@ export default function Settings({ config, onChange }) { />
- {/* Primary Key */}