mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: kanban assignees tooltip (#332)
This commit is contained in:
parent
69e8b504de
commit
946dddb6b2
@ -276,6 +276,7 @@ export const SingleBoardIssue: React.FC<Props> = ({
|
|||||||
issue={issue}
|
issue={issue}
|
||||||
partialUpdateIssue={partialUpdateIssue}
|
partialUpdateIssue={partialUpdateIssue}
|
||||||
isNotAllowed={isNotAllowed}
|
isNotAllowed={isNotAllowed}
|
||||||
|
tooltipPosition="left"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,6 +18,7 @@ import { PROJECT_MEMBERS } from "constants/fetch-keys";
|
|||||||
type Props = {
|
type Props = {
|
||||||
issue: IIssue;
|
issue: IIssue;
|
||||||
partialUpdateIssue: (formData: Partial<IIssue>) => void;
|
partialUpdateIssue: (formData: Partial<IIssue>) => void;
|
||||||
|
tooltipPosition?: "left" | "right";
|
||||||
position?: "left" | "right";
|
position?: "left" | "right";
|
||||||
isNotAllowed: boolean;
|
isNotAllowed: boolean;
|
||||||
};
|
};
|
||||||
@ -25,6 +26,7 @@ type Props = {
|
|||||||
export const ViewAssigneeSelect: React.FC<Props> = ({
|
export const ViewAssigneeSelect: React.FC<Props> = ({
|
||||||
issue,
|
issue,
|
||||||
partialUpdateIssue,
|
partialUpdateIssue,
|
||||||
|
tooltipPosition = "right",
|
||||||
position = "right",
|
position = "right",
|
||||||
isNotAllowed,
|
isNotAllowed,
|
||||||
}) => {
|
}) => {
|
||||||
@ -57,7 +59,7 @@ export const ViewAssigneeSelect: React.FC<Props> = ({
|
|||||||
<div>
|
<div>
|
||||||
<Listbox.Button>
|
<Listbox.Button>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
position="top-right"
|
position={`top-${tooltipPosition}`}
|
||||||
tooltipHeading="Assignees"
|
tooltipHeading="Assignees"
|
||||||
tooltipContent={
|
tooltipContent={
|
||||||
issue.assignee_details.length > 0
|
issue.assignee_details.length > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user