File tree Expand file tree Collapse file tree
contentcuration/contentcuration/frontend/channelEdit/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 134134 },
135135 {
136136 label: this .$tr (' remove' ),
137- onClick: this .removeNode ,
137+ onClick : () => this .removeNode ([ this . nodeId ]) ,
138138 condition: this .canEdit ,
139139 },
140140 ],
319319 this .trackAction (` Edit ${ trackActionLabel} ` );
320320 };
321321 },
322- removeNode: withChangeTracker (function (changeTracker ) {
322+ removeNode: withChangeTracker (function (id__in , changeTracker ) {
323323 this .trackAction (' Delete' );
324324 const redirect = this .getRemoveNodeRedirect ();
325- return this .moveContentNodes ({ id__in: [ this . nodeId ] , parent: this .trashId }).then (() => {
325+ return this .moveContentNodes ({ id__in, parent: this .trashId }).then (() => {
326326 redirect ();
327327 this .showSnackbar ({
328328 text: this .$tr (' removedItems' ),
You can’t perform that action at this time.
0 commit comments