mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Save sorting order when changing view (#2353)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
This commit is contained in:
1 parent
48ea877cd5
commit
33c405bdcf
8 files changed
+44
-11
No files matched your search
@@ -413,7 +413,7 @@ export class ItemListLayout extends React.Component<ItemListLayoutProps> {
|
||||
renderList() {
|
||||
const {
|
||||
store, hasDetailsView, addRemoveButtons = {}, virtual, sortingCallbacks, detailsItem,
|
||||
tableProps = {},
|
||||
tableProps = {}, tableId
|
||||
} = this.props;
|
||||
const { isReady, removeItemsDialog, items } = this;
|
||||
const { selectedItems } = store;
|
||||
@@ -426,6 +426,7 @@ export class ItemListLayout extends React.Component<ItemListLayoutProps> {
|
||||
)}
|
||||
{isReady && (
|
||||
<Table
|
||||
tableId={tableId}
|
||||
virtual={virtual}
|
||||
selectable={hasDetailsView}
|
||||
sortable={sortingCallbacks}
|
||||
|
||||
Reference in new issue
Block a user