publish: fix groupify behaviour

This commit is contained in:
Matilde Park 2020-10-06 13:57:30 -04:00
parent 77b1db2d16
commit c29a540fea
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ export function PublishResource(props: PublishResourceProps) {
contacts={props.contacts} contacts={props.contacts}
groups={props.groups} groups={props.groups}
notebook={notebook} notebook={notebook}
associations={props.associations}
notebookContacts={notebookContacts} notebookContacts={notebookContacts}
rootUrl={baseUrl} rootUrl={baseUrl}
baseUrl={`${baseUrl}/resource/publish/${ship}/${book}`} baseUrl={`${baseUrl}/resource/publish/${ship}/${book}`}

View File

@ -87,6 +87,7 @@ export function GroupSearch(props: InviteSearchProps) {
id={props.id} id={props.id}
caption={props.caption} caption={props.caption}
candidates={groups} candidates={groups}
isExact={() => undefined}
renderCandidate={renderCandidate} renderCandidate={renderCandidate}
disabled={value && value.length !== 0} disabled={value && value.length !== 0}
search={(s: string, a: Association) => search={(s: string, a: Association) =>