Fix/disable allocate button (#3426)

* remove allocate option from order editing summary if no further allocations can be made

* add changeset

* add minor button styles to badge component
This commit is contained in:
Philip Korsholm
2023-03-09 13:05:56 +01:00
committed by GitHub
parent 478d1af8d0
commit 784723a039
3 changed files with 12 additions and 4 deletions
@@ -22,10 +22,12 @@ const StatusIndicator: React.FC<StatusIndicatorProps> = ({
})
return (
<div
className={clsx("flex items-center inter-small-regular", className)}
className={clsx("inter-small-regular flex items-center", className, {
"hover:bg-grey-5 cursor-pointer": !!props.onClick,
})}
{...props}
>
<div className={clsx("w-1.5 h-1.5 self-center rounded-full", dotClass)} />
<div className={clsx("h-1.5 w-1.5 self-center rounded-full", dotClass)} />
{title && <span className="ml-2">{title}</span>}
</div>
)