Skip to content

Commit

Permalink
feat: update slope clickable condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Najeong-Kim committed Nov 29, 2024
1 parent e30a378 commit 4ee64e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/widgets/webcam/ui/webcam-slope-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ const WebcamSlopeList = ({ className, slopes, webcams, onItemClick }: WebcamSlop
return (
<ul className={cn('w-full md:grid md:grid-cols-2', className)}>
{slopes.map((item) => {
const isOpen = [item.isDayOperating, item.isNightOperating, item.isLateNightOperating].some(
(time) => time
);
// const isOpen = [item.isDayOperating, item.isNightOperating, item.isLateNightOperating].some(
// (time) => time
// );
const isOpen = true;
return (
<li
key={item.id}
Expand Down

0 comments on commit 4ee64e3

Please sign in to comment.