Skip to content

Commit

Permalink
fix: parabol poker scoping task is writeable until submitted
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Krick <[email protected]>
  • Loading branch information
mattkrick committed Dec 10, 2024
1 parent df3fd21 commit 171fbf6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ const ParabolScopingSearchResultItem = (props: Props) => {
const handleTaskUpdate = () => {
if (!editor) return
const isFocused = isTaskFocused()
if (editor.isEmpty && !isFocused) {
if (isFocused) return
if (editor.isEmpty) {
DeleteTaskMutation(atmosphere, {taskId: serviceTaskId})
return
}
Expand Down

0 comments on commit 171fbf6

Please sign in to comment.