Skip to content

Commit

Permalink
Merge branch 'master' into dm/themes
Browse files Browse the repository at this point in the history
  • Loading branch information
diogogmatos authored Sep 10, 2024
2 parents 6f6cf70 + a9fff93 commit 8b897a8
Show file tree
Hide file tree
Showing 12 changed files with 1,729 additions and 4,376 deletions.
82 changes: 0 additions & 82 deletions .github/workflows/trello.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
venv

# Logs
logs
*.log
Expand Down Expand Up @@ -45,3 +43,6 @@ jspm_packages
# local env files
.env.*
!.env.*.sample

# venv
*venv
16 changes: 12 additions & 4 deletions components/FilterBlock/FilterBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ const FilterBlock = ({
}) => {
return (
<>
{shifts &&
shifts.length > 0 &&
{shifts && shifts.length > 0 ? (
shifts.map((item) => (
<Fragment key={id.toString() + item + "Checkbox"}>
<div>
Expand All @@ -217,7 +216,10 @@ const FilterBlock = ({
</Checkbox>
</div>
</Fragment>
))}
))
) : (
<p className="text-neutral-400">Information not available.</p>
)}
</>
);
};
Expand Down Expand Up @@ -317,7 +319,7 @@ const FilterBlock = ({
>
{checkBoxes[index1 * layer2.length + index2] &&
checkBoxes[index1 * layer2.length + index2].some(
(item) => item.shifts
(item) => item.shifts && item.shifts.length > 0
) ? (
<>
{checkBoxes[
Expand All @@ -341,6 +343,12 @@ const FilterBlock = ({
</Fragment>
))}
</>
) : checkBoxes[
index1 * layer2.length + index2
].some((item) => item.shifts) ? (
<p className="text-neutral-400">
Information not available.
</p>
) : (
<>
<SelectAll
Expand Down
Loading

0 comments on commit 8b897a8

Please sign in to comment.