File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed
components/backlog/common Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const NumberInputColumn = ({
23
23
) ;
24
24
}
25
25
26
- return < span className = "w-full text-right" > { value } </ span > ;
26
+ return < span className = "w-full text-right truncate " > { value } </ span > ;
27
27
} ;
28
28
29
29
export default NumberInputColumn ;
Original file line number Diff line number Diff line change @@ -335,12 +335,35 @@ const EpicPage = () => {
335
335
action,
336
336
content,
337
337
} : BacklogSocketData ) => {
338
+ if (
339
+ domain === "epic" &&
340
+ action === "delete" &&
341
+ content . id === draggingEpicId
342
+ ) {
343
+ setEpicElementIndex ( undefined ) ;
344
+ return ;
345
+ }
346
+
338
347
if (
339
348
domain === "story" &&
340
349
action === "delete" &&
341
350
content . id === draggingStoryId
342
351
) {
343
352
setStoryElementIndex ( { epicId : undefined , storyIndex : undefined } ) ;
353
+
354
+ return ;
355
+ }
356
+
357
+ if (
358
+ domain === "task" &&
359
+ action === "delete" &&
360
+ content . id === draggingTaskId
361
+ ) {
362
+ setTaskElementIndex ( {
363
+ epicId : undefined ,
364
+ storyId : undefined ,
365
+ taskIndex : undefined ,
366
+ } ) ;
344
367
}
345
368
} ;
346
369
Original file line number Diff line number Diff line change @@ -168,6 +168,15 @@ const UnfinishedStoryPage = () => {
168
168
content . id === draggingStoryId
169
169
) {
170
170
setStoryElementIndex ( undefined ) ;
171
+ return ;
172
+ }
173
+
174
+ if (
175
+ domain === "task" &&
176
+ action === "delete" &&
177
+ content . id === draggingTaskId
178
+ ) {
179
+ setTaskElementIndex ( { storyId : undefined , taskIndex : undefined } ) ;
171
180
}
172
181
} ;
173
182
You can’t perform that action at this time.
0 commit comments