mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Consolidate way of passing items to ItemListLayout (#4850)
This commit is contained in:
1 parent
e626cc91d4
commit
668ac58cb3
5 files changed
+13
-7
No files matched your search
@@ -86,7 +86,9 @@ class NonInjectedPortForwards extends React.Component<Props & Dependencies> {
|
||||
<ItemListLayout
|
||||
isConfigurable
|
||||
tableId="port_forwards"
|
||||
className="PortForwards" store={this.props.portForwardStore}
|
||||
className="PortForwards"
|
||||
store={this.props.portForwardStore}
|
||||
getItems={() => this.props.portForwardStore.items}
|
||||
sortingCallbacks={{
|
||||
[columnId.name]: item => item.getName(),
|
||||
[columnId.namespace]: item => item.getNs(),
|
||||
|
||||
Reference in new issue
Block a user