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:
Panu Horsmalahti authored and GitHub committed 2021-12-02 15:28:28 +02:00
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