|
|
|
@ -23,7 +23,8 @@ const ActionsModal: React.FC<IActionsModal> = ({ status, actions, onClick, onClo
|
|
|
|
|
const renderAction = (action: MenuItem | null, i: number) => {
|
|
|
|
|
if (action === null) {
|
|
|
|
|
return <li key={`sep-${i}`} className='dropdown-menu__separator' />;
|
|
|
|
|
} else if (action.text !== 'Blocks') {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const { icon = null, text, meta = null, active = false, href = '#', destructive } = action;
|
|
|
|
|
|
|
|
|
|
const Comp = href === '#' ? 'button' : 'a';
|
|
|
|
@ -46,7 +47,6 @@ const ActionsModal: React.FC<IActionsModal> = ({ status, actions, onClick, onClo
|
|
|
|
|
</HStack>
|
|
|
|
|
</li>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|