feat(TaskDetails): clicking the '+' button now opens label manager
This commit is contained in:
parent
8b22d33dad
commit
ceaa49c5a1
@ -294,6 +294,7 @@ const TaskDetails: React.FC<TaskDetailsProps> = ({
|
|||||||
const $addMemberBtn = useRef<HTMLDivElement>(null);
|
const $addMemberBtn = useRef<HTMLDivElement>(null);
|
||||||
const $dueDateBtn = useRef<HTMLDivElement>(null);
|
const $dueDateBtn = useRef<HTMLDivElement>(null);
|
||||||
const $detailsTitle = useRef<HTMLTextAreaElement>(null);
|
const $detailsTitle = useRef<HTMLTextAreaElement>(null);
|
||||||
|
const $addLabel = useRef<HTMLDivElement>(null);
|
||||||
|
|
||||||
const activityStream: Array<{ id: string; data: { time: string; type: 'comment' | 'activity' } }> = [];
|
const activityStream: Array<{ id: string; data: { time: string; type: 'comment' | 'activity' } }> = [];
|
||||||
|
|
||||||
@ -474,7 +475,7 @@ const TaskDetails: React.FC<TaskDetailsProps> = ({
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
<TaskDetailsAddLabelIcon>
|
<TaskDetailsAddLabelIcon ref={$addLabel} onClick={() => onOpenAddLabelPopup(task, $addLabel)}>
|
||||||
<Plus width={12} height={12} />
|
<Plus width={12} height={12} />
|
||||||
</TaskDetailsAddLabelIcon>
|
</TaskDetailsAddLabelIcon>
|
||||||
</MetaDetailContent>
|
</MetaDetailContent>
|
||||||
|
Loading…
Reference in New Issue
Block a user