Skip to content

Commit

Permalink
Merge pull request #607 from 1ifeworld/0xTranqui/type-fix
Browse files Browse the repository at this point in the history
smol fix
  • Loading branch information
0xTranqui authored Apr 30, 2024
2 parents 71dd24c + 6365177 commit f7de4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/site/components/client/ItemDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function isAdminOrAdder({
itemAddedBy: bigint
}) {
// if targetRid was itemAdder, they have remove access
if (BigInt(userRid) === itemAddedBy) {
if (BigInt(userRid) === BigInt(itemAddedBy)) {
return true
}
// if targetRid wasnt itemAdder, loop through channel roles
Expand Down

0 comments on commit f7de4a8

Please sign in to comment.