From 11305d36b2ea80a94e9e1a9bdbf3c20572292d65 Mon Sep 17 00:00:00 2001 From: Bartholomew Date: Sat, 2 Feb 2019 22:53:10 +0100 Subject: [PATCH] fix(netlify-cms-core): relation widget value swap (#2018) --- .../src/components/Editor/EditorControlPane/Widget.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/netlify-cms-core/src/components/Editor/EditorControlPane/Widget.js b/packages/netlify-cms-core/src/components/Editor/EditorControlPane/Widget.js index 002e0ad0..5c58864c 100644 --- a/packages/netlify-cms-core/src/components/Editor/EditorControlPane/Widget.js +++ b/packages/netlify-cms-core/src/components/Editor/EditorControlPane/Widget.js @@ -62,7 +62,8 @@ export default class Widget extends Component { return ( this.props.value !== nextProps.value || this.props.classNameWrapper !== nextProps.classNameWrapper || - this.props.hasActiveStyle !== nextProps.hasActiveStyle + this.props.hasActiveStyle !== nextProps.hasActiveStyle || + this.props.queryHits !== nextProps.queryHits ); }