Skip to content

Commit

Permalink
* kanban: set deleted to false on update links.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Nov 20, 2023
1 parent a9bc613 commit 3bcd1a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kanban/src/component/kanban.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export class Kanban<P extends KanbanProps = KanbanProps, S extends KanbanState =
updateLink(link: KanbanLinkOptions | KanbanLinkOptions[], change?: Partial<KanbanLinkOptions>) {
return this.update({
links: (Array.isArray(link) ? link : [link]).map(x => ({
deleted: false,
...x,
...change,
[this.itemKey]: `${x.from}:${x.to}`,
Expand Down

0 comments on commit 3bcd1a2

Please sign in to comment.