fix: put unsuspend button up to spec
This commit is contained in:
parent
442336e306
commit
a64cc8bdb0
1 changed files with 2 additions and 4 deletions
|
|
@ -176,10 +176,8 @@ const CustomerProfile = memo(() => {
|
|||
{suspended && (
|
||||
<ActionButton
|
||||
color="primary"
|
||||
Icon={suspended ? AuthorizeIcon : BlockIcon}
|
||||
InverseIcon={
|
||||
suspended ? AuthorizeReversedIcon : BlockReversedIcon
|
||||
}
|
||||
Icon={AuthorizeIcon}
|
||||
InverseIcon={AuthorizeReversedIcon}
|
||||
onClick={() =>
|
||||
updateCustomer({
|
||||
suspendedUntil: null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue