Fixed selection issue with TableState

pull/104/head
cagataycivici 2019-10-22 10:58:07 +03:00
parent 26d584d8b7
commit ddc9b2362c
1 changed files with 2 additions and 3 deletions

View File

@ -1505,10 +1505,9 @@ export default {
this.$emit('update:expandedRowGroups', restoredState.expandedRowGroups); this.$emit('update:expandedRowGroups', restoredState.expandedRowGroups);
} }
if (this.selection) { if (restoredState.selection) {
this.selection = restoredState.selection;
this.d_selectionKeys = restoredState.d_selectionKeys; this.d_selectionKeys = restoredState.d_selectionKeys;
this.$emit('update:selection', this.selection); this.$emit('update:selection', restoredState.selection);
} }
} }
}, },