Commit 19d01ff
committed
Modified <ListWidget> state schema to add new field 'total_added' to keep track of the total number of times a new item has been added. This new field is intended to be used to give each item a unique lifetime ID to be used as the React key in the items listing, as well as to find the item to update its future checked status.
1 parent bebcb07 commit 19d01ff
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
0 commit comments