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 && (
|
{suspended && (
|
||||||
<ActionButton
|
<ActionButton
|
||||||
color="primary"
|
color="primary"
|
||||||
Icon={suspended ? AuthorizeIcon : BlockIcon}
|
Icon={AuthorizeIcon}
|
||||||
InverseIcon={
|
InverseIcon={AuthorizeReversedIcon}
|
||||||
suspended ? AuthorizeReversedIcon : BlockReversedIcon
|
|
||||||
}
|
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
updateCustomer({
|
updateCustomer({
|
||||||
suspendedUntil: null
|
suspendedUntil: null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue