Skip to content

Commit

Permalink
🚸 Add comment to indicate can sort by columns on admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
tameTNT committed Oct 28, 2024
1 parent 1bc7312 commit bde4a11
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/src/components/admin/AdminToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import FlagsPopup from './FlagsPopup';
const AdminToolbar = (props: { showProjects: boolean }) => {
const [showFlags, setShowFlags] = useState(false);
return (
<div className="flex flex-row px-8 py-4">
<div className="flex flex-row px-8 py-4 items-center">
<div>
{props.showProjects && (
<Button
Expand Down Expand Up @@ -37,7 +37,10 @@ const AdminToolbar = (props: { showProjects: boolean }) => {
</Button>
)}
</div>
{showFlags && <FlagsPopup close={setShowFlags} />}
<div className="ml-4 italic">
Click on headings to sort by that column.
</div>
{showFlags && <FlagsPopup close={setShowFlags}/>}
</div>
);
};
Expand Down

0 comments on commit bde4a11

Please sign in to comment.