Remove delete user from cloud
parent
ed3d54b6ed
commit
cc34595758
|
@ -10,6 +10,8 @@ import {
|
|||
Alignment,
|
||||
} from 'src/clockface'
|
||||
|
||||
import CloudExclude from 'src/shared/components/cloud/CloudExclude'
|
||||
|
||||
interface Props {
|
||||
member: Member
|
||||
onDelete: (member: Member) => void
|
||||
|
@ -23,14 +25,16 @@ export default class MemberRow extends PureComponent<Props> {
|
|||
<IndexList.Row key={member.id}>
|
||||
<IndexList.Cell>{member.name}</IndexList.Cell>
|
||||
<IndexList.Cell>{member.role}</IndexList.Cell>
|
||||
<IndexList.Cell revealOnHover={true} alignment={Alignment.Right}>
|
||||
<ConfirmationButton
|
||||
size={ComponentSize.ExtraSmall}
|
||||
text="Delete"
|
||||
confirmText="Confirm"
|
||||
onConfirm={this.handleDelete}
|
||||
/>
|
||||
</IndexList.Cell>
|
||||
<CloudExclude>
|
||||
<IndexList.Cell revealOnHover={true} alignment={Alignment.Right}>
|
||||
<ConfirmationButton
|
||||
size={ComponentSize.ExtraSmall}
|
||||
text="Delete"
|
||||
confirmText="Confirm"
|
||||
onConfirm={this.handleDelete}
|
||||
/>
|
||||
</IndexList.Cell>
|
||||
</CloudExclude>
|
||||
</IndexList.Row>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -25,16 +25,7 @@ export default class CloudNav extends PureComponent {
|
|||
<Icon glyph={IconFont.Cloud} />
|
||||
</a>
|
||||
)}
|
||||
>
|
||||
<NavMenu.SubItem
|
||||
active={false}
|
||||
titleLink={className => (
|
||||
<a className={className} href={this.usageURL}>
|
||||
Usage
|
||||
</a>
|
||||
)}
|
||||
/>
|
||||
</NavMenu.Item>
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue