diff --git a/frontend/src/components/dialog/share-to-user.js b/frontend/src/components/dialog/share-to-user.js index b87ae6a2ba..3341972cc2 100644 --- a/frontend/src/components/dialog/share-to-user.js +++ b/frontend/src/components/dialog/share-to-user.js @@ -163,6 +163,7 @@ class ShareToUser extends React.Component { selectedOption: null, permission: 'rw', }); + this.refs.userSelect.clearSelect(); }).catch(error => { if (error.response) { let message = gettext('Library can not be shared to owner.'); @@ -188,6 +189,7 @@ class ShareToUser extends React.Component { selectedOption: null, permission: 'rw', }); + this.refs.userSelect.clearSelect(); }).catch(error => { if (error.response) { let message = gettext('Library can not be shared to owner.');