diff --git a/src/features/ui/components/modals/actions-modal.tsx b/src/features/ui/components/modals/actions-modal.tsx index 5fd37bab7..0898a80b2 100644 --- a/src/features/ui/components/modals/actions-modal.tsx +++ b/src/features/ui/components/modals/actions-modal.tsx @@ -22,7 +22,7 @@ interface IActionsModal { const ActionsModal: React.FC = ({ status, actions, onClick, onClose }) => { const renderAction = (action: MenuItem | null, i: number) => { if (action === null) { - return
  • ; + return
  • ; } const { icon = null, text, meta = null, active = false, href = '#', destructive } = action; @@ -36,12 +36,12 @@ const ActionsModal: React.FC = ({ status, actions, onClick, onClo {...compProps} space={2.5} data-index={i} - className={clsx('w-full', { active, destructive })} + className={clsx('w-full', { active, 'text-danger-600 dark:text-danger-400': destructive })} element={Comp} > {icon && }
    -
    {text}
    +
    {text}
    {meta}
    @@ -52,18 +52,18 @@ const ActionsModal: React.FC = ({ status, actions, onClick, onClo return ( {({ top }) => ( -
    +
    {status && ( - + )} -
      +
        {actions && actions.map(renderAction)} -
      • +
      • -