From 5a014439a08471eba700dc57f0ef7e80c1055c5b Mon Sep 17 00:00:00 2001 From: alexfront Date: Fri, 7 Aug 2020 15:47:42 +0300 Subject: [PATCH] Using structuralComparator in feature installer Signed-off-by: alexfront --- .../+cluster-settings/components/install-feature.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/+cluster-settings/components/install-feature.tsx b/src/renderer/components/+cluster-settings/components/install-feature.tsx index 8168191f72..a04b8fed63 100644 --- a/src/renderer/components/+cluster-settings/components/install-feature.tsx +++ b/src/renderer/components/+cluster-settings/components/install-feature.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { observable, reaction } from "mobx"; +import { observable, reaction, comparer } from "mobx"; import { observer, disposeOnUnmount } from "mobx-react"; import { clusterIpc } from "../../../../common/cluster-ipc"; import { Cluster } from "../../../../main/cluster"; @@ -20,7 +20,7 @@ export class InstallFeature extends React.Component { disposeOnUnmount(this, reaction(() => this.props.cluster.features[this.props.feature], () => { this.loading = false; - }) + }, { equals: comparer.structural }) ); }