Save sorting order when changing view (#2353)

Signed-off-by: vshakirova <vshakirova@mirantis.com>
This commit is contained in:
Violetta authored and GitHub committed 2021-04-01 10:29:17 -04:00
1 parent 48ea877cd5
commit 33c405bdcf
8 files changed
+44 -11

No files matched your search

@@ -135,6 +135,7 @@ export class PodDetailsList extends React.Component<Props> {
<div className="PodDetailsList flex column">
{showTitle && <DrawerTitle title="Pods"/>}
<Table
tableId="workloads_pod_details_list"
items={pods}
selectable
virtual={virtual}
@@ -43,6 +43,7 @@ const getTableRow = (toleration: IToleration) => {
export function PodTolerations({ tolerations }: Props) {
return (
<Table
tableId="workloads_pod_tolerations"
selectable
scrollable={false}
sortable={sortingCallbacks}