Skip to content

Commit

Permalink
role check in record dialogue
Browse files Browse the repository at this point in the history
  • Loading branch information
micheal-w-wells committed Sep 19, 2023
1 parent 9b618a6 commit e6e94f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/components/activities-list/Tables/NewRecordDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ const NewRecordDialog = (props: INewRecordDialog) => {
const [activitySubTypeSelectOptions, setActivitySubTypeSelectOptions] = useState([]);

const displayName = useSelector((state) => state.Auth.displayName);
const accessRoles = useSelector((state) => state.Auth.accessRoles);
const username = useSelector((state) => state.Auth.username);
const { newRecordDialogState } = useSelector(selectUserSettings);

useEffect(() => {
Expand Down

0 comments on commit e6e94f6

Please sign in to comment.