Skip to content

Commit

Permalink
revert(landcoverexplore): revert commit #3a8c4ad
Browse files Browse the repository at this point in the history
Save Options in Time Selector should be disabled but hidden instead
  • Loading branch information
vannizhang committed Mar 27, 2024
1 parent 3a8c4ad commit 037cb2b
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,18 @@ export const SaveOptions: FC<SaveOptionsProps> = ({
return null;
}

// // no need to show save options if the Sentinel-2 Imagery Layer is on
// // but we still want to add to a place holder component to prevent the TimeSlider from jumping up and down.
// if (shouldShowSentinel2Layer) {
// return null;
// }
// no need to show save options if the Sentinel-2 Imagery Layer is on
// but we still want to add to a place holder component to prevent the TimeSlider from jumping up and down.
if (shouldShowSentinel2Layer) {
return (
<div className="h-[16px] w-full">
{/* <span className='text-xs'>Save options are only enabled for Land Cover layer</span> */}
</div>
);
}

return (
<div
className={classNames('flex items-center justify-around', {
'is-disabled': shouldShowSentinel2Layer,
})}
>
<div className={classNames('flex items-center justify-around')}>
{/* <div className='cursor-pointer flex items-center'
onClick={donwloadButtonOnClick}
>
Expand Down

0 comments on commit 037cb2b

Please sign in to comment.