|
|
@ -161,7 +161,10 @@ export function MemberCustomProgressModal(props: ProgressMapProps) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const target = e?.currentTarget as HTMLDivElement; |
|
|
|
const target = |
|
|
|
|
|
|
|
node?.type === 'todo' |
|
|
|
|
|
|
|
? document.querySelector(`[data-id="${node.id}"]`) |
|
|
|
|
|
|
|
: (e?.currentTarget as HTMLDivElement); |
|
|
|
if (!target) { |
|
|
|
if (!target) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
@ -237,7 +240,6 @@ export function MemberCustomProgressModal(props: ProgressMapProps) { |
|
|
|
<div className="px-4 pb-2"> |
|
|
|
<div className="px-4 pb-2"> |
|
|
|
<ReadonlyEditor |
|
|
|
<ReadonlyEditor |
|
|
|
variant="modal" |
|
|
|
variant="modal" |
|
|
|
hasMinimap={false} |
|
|
|
|
|
|
|
roadmap={roadmap!} |
|
|
|
roadmap={roadmap!} |
|
|
|
className="min-h-[400px]" |
|
|
|
className="min-h-[400px]" |
|
|
|
onRendered={() => { |
|
|
|
onRendered={() => { |
|
|
|