Skip to content

Commit

Permalink
fix: apply the discovery detail active-tab fix to back button (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
george42-ctds authored and cmlsn committed Nov 29, 2022
1 parent 5bceff3 commit 8a77868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discovery/DiscoveryDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const DiscoveryDetails = (props: Props) => {
<div className='discovery-modal__header-buttons'>
<Button
type='text'
onClick={() => props.setModalVisible(false)}
onClick={() => { props.setModalVisible(false); setTabActiveKey('0');}}
className='discovery-modal__close-button'
>
<DoubleLeftOutlined />
Expand Down

0 comments on commit 8a77868

Please sign in to comment.