File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/dashboard/Data/Browser Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,14 @@ export default class BrowserTable extends React.Component {
145
145
let index = i - this . state . offset ;
146
146
let obj = this . props . data [ i ] ;
147
147
const currentCol = this . props . current && this . props . current . row === i ? this . props . current . col : undefined ;
148
+
149
+ // Needed in order to force BrowserRow to update and re-render (and possibly update columns values),
150
+ // since the "obj" instance will only be updated when the update request is done.
151
+ const isEditingRow = this . props . current && this . props . current . row === i && ! ! this . props . editing ;
152
+
148
153
rows [ index ] = < BrowserRow
149
154
key = { index }
155
+ isEditing = { isEditingRow }
150
156
className = { this . props . className }
151
157
columns = { this . props . columns }
152
158
currentCol = { currentCol }
You can’t perform that action at this time.
0 commit comments