Skip to content

Commit

Permalink
chore: add reopen preview btn (langgenius#9279)
Browse files Browse the repository at this point in the history
Co-authored-by: billsyli <billsyli@tencent.com>
  • Loading branch information
Blubiubiu and billsyli authored Oct 14, 2024
1 parent 5ee7e03 commit de3c575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/datasets/create/step-two/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ const StepTwo = ({
<div ref={scrollRef} className='relative h-full w-full overflow-y-scroll'>
<div className={cn(s.pageHeader, scrolled && s.fixed, isMobile && '!px-6')}>
<span>{t('datasetCreation.steps.two')}</span>
{isMobile && (
{(isMobile || !showPreview) && (
<Button
className='border-[0.5px] !h-8 hover:outline hover:outline-[0.5px] hover:outline-gray-300 text-gray-700 font-medium bg-white shadow-[0px_1px_2px_0px_rgba(16,24,40,0.05)]'
onClick={setShowPreview}
Expand Down

0 comments on commit de3c575

Please sign in to comment.