13494: Fixes multi-value property removal.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 18 Nov 2020 21:39:58 +0000 (18:39 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 18 Nov 2020 21:39:58 +0000 (18:39 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

src/views/collection-panel/collection-panel.tsx

index f1c9073da4baec4d52642e90785f59a4cc1e91b6..0a4cf3c7a0883e4b2f0377a6c0e02c5d5104fe70 100644 (file)
@@ -205,7 +205,7 @@ export const CollectionPanel = withStyles(styles)(
                                                         getPropertyChip(
                                                             k, v,
                                                             isWritable
-                                                                ? this.handleDelete(k, item.properties[k])
+                                                                ? this.handleDelete(k, v)
                                                                 : undefined,
                                                             classes.tag))
                                                     : getPropertyChip(