mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use PartialDeep for patch type (#4420)
* Use PartialDeep for patch type. Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com> * Add test. Fix typing. Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com> * Fix lint. Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
f02018c1e7
commit
696986b7e6
4 files changed
+24
-4
No files matched your search
@@ -49,7 +49,8 @@ export class Namespaces extends React.Component<Props> {
|
||||
<KubeObjectListLayout
|
||||
isConfigurable
|
||||
tableId="namespaces"
|
||||
className="Namespaces" store={namespaceStore}
|
||||
className="Namespaces"
|
||||
store={namespaceStore}
|
||||
sortingCallbacks={{
|
||||
[columnId.name]: ns => ns.getName(),
|
||||
[columnId.labels]: ns => ns.getLabels(),
|
||||
|
||||
@@ -92,7 +92,8 @@ export class Pods extends React.Component<Props> {
|
||||
render() {
|
||||
return (
|
||||
<KubeObjectListLayout
|
||||
className="Pods" store={podsStore}
|
||||
className="Pods"
|
||||
store={podsStore}
|
||||
dependentStores={[eventStore]} // status icon component uses event store
|
||||
tableId = "workloads_pods"
|
||||
isConfigurable
|
||||
|
||||
Reference in new issue
Block a user