Skip to content
Permalink
Browse files
Table: changing current-row-key when current-row-key is assigned to n…
…ull (#11866)
  • Loading branch information
jikkai committed Jul 5, 2018
1 parent b6eaaf6 commit 45241cbaa83a91198ffe1aae2483f67b862ddd75
Showing 1 changed file with 1 addition and 3 deletions.
@@ -587,9 +587,7 @@ TableStore.prototype.setCurrentRowKey = function(key) {
const data = states.data || [];
const keysMap = getKeysMap(data, rowKey);
const info = keysMap[key];
if (info) {
states.currentRow = info.row;
}
states.currentRow = info ? info.row : null;
};

TableStore.prototype.updateCurrentRow = function() {

0 comments on commit 45241cb

Please sign in to comment.