Fix: compact-mode for Workloads overview -> Events (#2113)

fix: proper event-type column + default sorting by warning events

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman authored and GitHub committed 2021-02-11 13:56:20 +02:00
1 parent 22176219f0
commit b873ba76bd
3 files changed
+39 -17

No files matched your search

@@ -42,13 +42,13 @@ export class KubeObjectListLayout extends React.Component<KubeObjectListLayoutPr
};
render() {
const items = this.props.store.contextItems;
const { className, ...layoutProps } = this.props;
const { className, store, items = store.contextItems, ...layoutProps } = this.props;
return (
<ItemListLayout
{...layoutProps}
className={cssNames("KubeObjectListLayout", className)}
store={store}
items={items}
preloadStores={false} // loading handled in kubeWatchApi.subscribeStores()
detailsItem={this.selectedItem}