Fix ability to feature self in a group summary
By default the AddressPicker would omit the currently logged-in user. This adds a property to override that to allow "self" to be picked.
This commit is contained in:
parent
1ca9102442
commit
6bc9b32ab7
2 changed files with 9 additions and 1 deletions
|
@ -239,6 +239,7 @@ const RoleUserList = React.createClass({
|
|||
button: _t("Add to summary"),
|
||||
validAddressTypes: ['mx'],
|
||||
groupId: this.props.groupId,
|
||||
shouldOmitSelf: false,
|
||||
onFinished: (success, addrs) => {
|
||||
if (!success) return;
|
||||
const errorList = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue