fix: kanban assignees tooltip (#332)
This commit is contained in:
parent
69e8b504de
commit
946dddb6b2
2 changed files with 4 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ import { PROJECT_MEMBERS } from "constants/fetch-keys";
|
|||
type Props = {
|
||||
issue: IIssue;
|
||||
partialUpdateIssue: (formData: Partial<IIssue>) => void;
|
||||
tooltipPosition?: "left" | "right";
|
||||
position?: "left" | "right";
|
||||
isNotAllowed: boolean;
|
||||
};
|
||||
|
|
@ -25,6 +26,7 @@ type Props = {
|
|||
export const ViewAssigneeSelect: React.FC<Props> = ({
|
||||
issue,
|
||||
partialUpdateIssue,
|
||||
tooltipPosition = "right",
|
||||
position = "right",
|
||||
isNotAllowed,
|
||||
}) => {
|
||||
|
|
@ -57,7 +59,7 @@ export const ViewAssigneeSelect: React.FC<Props> = ({
|
|||
<div>
|
||||
<Listbox.Button>
|
||||
<Tooltip
|
||||
position="top-right"
|
||||
position={`top-${tooltipPosition}`}
|
||||
tooltipHeading="Assignees"
|
||||
tooltipContent={
|
||||
issue.assignee_details.length > 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue