Skip to content

Commit

Permalink
Don't show copy button for connectors tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Oct 21, 2024
1 parent 2d3a501 commit a09c432
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/application/components/Queries/Queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,13 @@ export const Queries = ({ clientId, explorerIFrame }: QueriesProps) => {
<Tabs.Trigger value={QueryTabs.Connectors}>
Connectors
</Tabs.Trigger>
<CopyButton
className="ml-auto relative right-[6px]"
size="sm"
text={copyButtonText}
/>
{currentTab !== QueryTabs.Connectors && (
<CopyButton
className="ml-auto relative right-[6px]"
size="sm"
text={copyButtonText}
/>
)}
</Tabs.List>
<QueryLayout.TabContent value={QueryTabs.Variables}>
<JSONTreeViewer
Expand Down

0 comments on commit a09c432

Please sign in to comment.