[WEB-1955] fix: data types and css fixes added (#5216)
* fix: data types and css fixes for bulk ops * fix: TBulkIssueProperties keys
This commit is contained in:
parent
0d6e581789
commit
ca088a464f
3 changed files with 14 additions and 11 deletions
|
|
@ -36,7 +36,7 @@ type Props = TDropdownProps & {
|
|||
| {
|
||||
multiple: true;
|
||||
onChange: (val: string[]) => void;
|
||||
value: string[];
|
||||
value: string[] | null;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
@ -139,7 +139,9 @@ const ButtonContent: React.FC<ButtonContentProps> = (props) => {
|
|||
return (
|
||||
<>
|
||||
{!hideIcon && <DiceIcon className="h-3 w-3 flex-shrink-0" />}
|
||||
{!hideText && <span className="flex-grow truncate text-left">{value ?? placeholder}</span>}
|
||||
{!hideText && (
|
||||
<span className="flex-grow truncate text-left">{value ? getModuleById(value)?.name : placeholder}</span>
|
||||
)}
|
||||
{dropdownArrow && (
|
||||
<ChevronDown className={cn("h-2.5 w-2.5 flex-shrink-0", dropdownArrowClassName)} aria-hidden="true" />
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ export const IssueLabelsList: FC<IssueLabelsListProps> = (props) => {
|
|||
>
|
||||
<div className="h-full flex items-center gap-1 rounded border-[0.5px] border-custom-border-300 px-2 py-1 text-xs text-custom-text-200">
|
||||
<span className="h-2 w-2 flex-shrink-0 rounded-full bg-custom-primary" />
|
||||
{`${labels.length} Labels`}
|
||||
<span>{labels.length}</span>
|
||||
<span> Labels</span>
|
||||
</div>
|
||||
</Tooltip>
|
||||
</>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue