Skip to content

Commit

Permalink
Merge pull request #877 from acm-ucr/shahdivyank/fix_limit
Browse files Browse the repository at this point in the history
fix limit
  • Loading branch information
shahdivyank authored Nov 12, 2023
2 parents 43da0fd + 4c80a1a commit 70e957a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dynamic/admin/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const Table = ({
data-cy={`${header.text}`}
className="break-words flex items-center"
>
{index < header.limit && (
{objects.length - header.limit <= index && (
<FaStar className="mr-2 text-yellow-400" />
)}
{object[header.text]}
Expand Down

0 comments on commit 70e957a

Please sign in to comment.