Skip to content

Commit

Permalink
Fixed incorrect tooltip/disabled for hide and delete icon on multipro…
Browse files Browse the repository at this point in the history
…ject toolbar
  • Loading branch information
entrotech committed Nov 28, 2024
1 parent c8f28c8 commit e81f595
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/components/Projects/MultiProjectToolbarMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ const MultiProjectToolbarMenu = ({
) {
project = checkedProjectsStatusData;
}
const isProjectOwner = account ? account.id === project?.loginId : false;
const isProjectOwner = account
? account.id === project?.loginId ||
account.id === checkedProjectsStatusData.loginId
: false;

const isBtnDisabled = (projProp, criteriaProp) => {
const sameDateVals = checkedProjectsStatusData[projProp] !== false;
Expand Down

0 comments on commit e81f595

Please sign in to comment.