Skip to content

Commit

Permalink
Update src/pages/tasks/TaskShareDestinationSelectorModal.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sobit Neupane <[email protected]>
  • Loading branch information
dukenv0307 and sobitneupane authored Jul 5, 2023
1 parent 9ea6f88 commit f8de055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/tasks/TaskShareDestinationSelectorModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function TaskShareDestinationSelectorModal(props) {
const [filteredPersonalDetails, setFilteredPersonalDetails] = useState([]);
const [filteredUserToInvite, setFilteredUserToInvite] = useState(null);

// Exclude the reports that have permission as `Admins only` before get share destination options
// Filter out all the reports where user is not allowed to create task
const filteredReports = useMemo(() => {
const reports = {};
_.keys(props.reports).forEach((reportKey) => {
Expand Down

0 comments on commit f8de055

Please sign in to comment.