Skip to content

Commit

Permalink
Merge pull request #26 from jetstreamapp/bug/24
Browse files Browse the repository at this point in the history
Permission table has incorrect type label #24
  • Loading branch information
paustint authored Jan 20, 2023
2 parents 468002c + 698bba8 commit 66b0eec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export function getObjectColumns(
permissionType: 'object',
id: permissionSetId,
type: 'Permission Set',
label: permissionSet.Name,
label: permissionSet?.Name || '',
actionType: startCase(permissionType) as 'Create' | 'Read' | 'Edit' | 'Delete' | 'ViewAll' | 'ModifyAll',
actionKey: permissionType,
})
Expand Down Expand Up @@ -411,8 +411,8 @@ export function getFieldColumns(
isFirstItem: i === 0,
permissionType: 'field',
id: permissionSetId,
type: 'Profile',
label: permissionSet.Name,
type: 'Permission Set',
label: permissionSet?.Name || '',
actionType: startCase(permissionType) as 'Read' | 'Edit',
actionKey: permissionType,
})
Expand Down
1 change: 0 additions & 1 deletion libs/ui/src/lib/popover/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export function ContextMenu({ containerId, menu, onItemSelected, children }: Con
display: contents;
`}
onContextMenu={(event) => {
console.log('containerId', containerId);
if (containerId) {
try {
const itemId =
Expand Down

0 comments on commit 66b0eec

Please sign in to comment.