Skip to content

Commit

Permalink
use ===
Browse files Browse the repository at this point in the history
  • Loading branch information
Dert1129 committed Nov 21, 2024
1 parent 7fc1a1b commit 0e24339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Packages/packagePanelStateHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const panelConfigIconExists = (panelConfig) => {
};

const checkForAdmin = (currentUserEmail, currentUserRoles, packageEmail) => {
if(currentUserRoles = "uw_rit_kpmp_role_developer" || currentUserEmail == packageEmail){
if(currentUserRoles === "uw_rit_kpmp_role_developer" || currentUserEmail === packageEmail){
return true;
}else {
return false;
Expand Down

0 comments on commit 0e24339

Please sign in to comment.