|
|
@ -27,8 +27,7 @@ export function FDOProfilesDatatableActions({
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="actionBar">
|
|
|
|
<div className="actionBar">
|
|
|
|
<Link to="portainer.endpoints.profile" className="space-left">
|
|
|
|
<Link to="portainer.endpoints.profile" className="space-left">
|
|
|
|
<Button disabled={!isFDOEnabled}>
|
|
|
|
<Button disabled={!isFDOEnabled} icon="plus-circle" featherIcon>
|
|
|
|
<i className="fa fa-plus-circle space-right" aria-hidden="true" />
|
|
|
|
|
|
|
|
Add Profile
|
|
|
|
Add Profile
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
</Link>
|
|
|
|
</Link>
|
|
|
@ -36,8 +35,9 @@ export function FDOProfilesDatatableActions({
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
disabled={!isFDOEnabled || selectedItems.length !== 1}
|
|
|
|
disabled={!isFDOEnabled || selectedItems.length !== 1}
|
|
|
|
onClick={() => onDuplicateProfileClick()}
|
|
|
|
onClick={() => onDuplicateProfileClick()}
|
|
|
|
|
|
|
|
icon="plus-circle"
|
|
|
|
|
|
|
|
featherIcon
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i className="fa fa-plus-circle space-right" aria-hidden="true" />
|
|
|
|
|
|
|
|
Duplicate
|
|
|
|
Duplicate
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
@ -45,8 +45,9 @@ export function FDOProfilesDatatableActions({
|
|
|
|
disabled={!isFDOEnabled || selectedItems.length < 1}
|
|
|
|
disabled={!isFDOEnabled || selectedItems.length < 1}
|
|
|
|
color="danger"
|
|
|
|
color="danger"
|
|
|
|
onClick={() => onDeleteProfileClick()}
|
|
|
|
onClick={() => onDeleteProfileClick()}
|
|
|
|
|
|
|
|
icon="trash-2"
|
|
|
|
|
|
|
|
featherIcon
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i className="fa fa-trash-alt space-right" aria-hidden="true" />
|
|
|
|
|
|
|
|
Remove
|
|
|
|
Remove
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|