feat(ui): show Star All if selection is a mix of starred and unstarred

This commit is contained in:
psychedelicious 2023-08-16 11:13:49 +10:00
parent 80b0c5eab4
commit 315a056686

View File

@ -55,7 +55,7 @@ const MultipleSelectionMenuItems = () => {
Unstar All
</MenuItem>
)}
{areAllUnstarred && (
{(areAllUnstarred || (!areAllStarred && !areAllUnstarred)) && (
<MenuItem icon={<MdStar />} onClickCapture={handleStarSelection}>
Star All
</MenuItem>