Commit 5a3baa29 authored by Lionel Morin's avatar Lionel Morin
Browse files

Merge branch '396_disable_deletion' into 'develop'

fix 396_disable_deletion

See merge request !3
parents eb4da2c3 c013d430
......@@ -82,12 +82,12 @@ import { serverselectionActions } from '../../actions';
primary={user}
secondary={role}
/>
{ this.state.isOverIcon &&
{ this.state.isOverIcon && role !== 'owner' &&
<Tooltip title="Editer">
<EditUser className={classes.iconuser} onClick={this.handleEditUserDialogOpenClick} />
</Tooltip>
}
{ this.state.isOverIcon &&
{ this.state.isOverIcon && role !== 'owner' &&
<Tooltip title="Supprimer">
<DeleteUser className={classes.iconuser} onClick={this.handleDeleteUserDialogOpenClick} />
</Tooltip>
......
......@@ -112,7 +112,7 @@ class ServerSelectionsDetail extends React.Component {
inner={inner}
backLink={`/serverselections`}
navRight={
serverselection &&
serverselection && !serverselection.serverselectionname.includes("_DEFAULT") &&
<div>
<ResponsiveButton
sm={sm}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment