Skip to content

Commit

Permalink
UIBULKED-321: fix code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
UladzislauKutarkin committed Aug 3, 2023
1 parent a7673bd commit 3bbf3c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export const BulkEditListFilters = ({
hasCsvViewPerms,
hasInAppUsersEditPerms,
hasInAppViewPerms,
hasViewInAppPerms,
hasOnlyViewCsvPerms,
hasAnyInventoryWithInAppView,
} = permissions;
Expand Down
1 change: 0 additions & 1 deletion src/hooks/useBulkPermissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const useBulkPermissions = () => {
const hasItemsAndHoldingsInventoryView = hasInAppViewPerms && hasInventoryInstanceViewPerms;
const hasItemInventoryEdit = hasInAppEditPerms && hasItemsPerms;
const hasHoldingsInventoryEdit = hasInAppEditPerms && hasHoldingsPerms;
const hasItemsAndHoldingsInventoryEdit = hasInAppEditPerms && hasInventoryInstanceViewPerms;
const hasAnyInventoryWithInAppView = (hasItemInventoryView && hasInAppViewPerms)
|| (hasHoldingsInventoryView && hasInAppViewPerms)
|| (hasItemsAndHoldingsInventoryView && hasInAppViewPerms);
Expand Down

0 comments on commit 3bbf3c9

Please sign in to comment.