X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/8e191ecaf0e507dd1d685ca3ebeab954652d8e9e..63539b816f355df818e4205d5da0b7b7416c9966:/src/views-components/sharing-dialog/participant-select.tsx diff --git a/src/views-components/sharing-dialog/participant-select.tsx b/src/views-components/sharing-dialog/participant-select.tsx index eb7e8d10..a826fcd5 100644 --- a/src/views-components/sharing-dialog/participant-select.tsx +++ b/src/views-components/sharing-dialog/participant-select.tsx @@ -28,6 +28,7 @@ interface ParticipantSelectProps { label?: string; autofocus?: boolean; onlyPeople?: boolean; + onlyActive?: boolean; disabled?: boolean; onBlur?: (event: React.FocusEvent) => void; @@ -133,6 +134,7 @@ export const ParticipantSelect = connect()( const filterUsers = new FilterBuilder() .addILike('any', value) + .addEqual('is_active', this.props.onlyActive || undefined) .addNotIn('uuid', this.props.excludedParticipants) .getFilters(); const userItems: ListResults = await userService.list({ filters: filterUsers, limit, count: "none" });