Skip to content

Commit 4ee64e3

Browse files
committed
feat: update slope clickable condition
1 parent e30a378 commit 4ee64e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/widgets/webcam/ui/webcam-slope-list.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ const WebcamSlopeList = ({ className, slopes, webcams, onItemClick }: WebcamSlop
2020
return (
2121
<ul className={cn('w-full md:grid md:grid-cols-2', className)}>
2222
{slopes.map((item) => {
23-
const isOpen = [item.isDayOperating, item.isNightOperating, item.isLateNightOperating].some(
24-
(time) => time
25-
);
23+
// const isOpen = [item.isDayOperating, item.isNightOperating, item.isLateNightOperating].some(
24+
// (time) => time
25+
// );
26+
const isOpen = true;
2627
return (
2728
<li
2829
key={item.id}

0 commit comments

Comments
 (0)