From 816e122408351cc466fa67da6c5d9a61af7fdef8 Mon Sep 17 00:00:00 2001 From: Tiago Noronha Date: Thu, 14 Feb 2019 19:57:27 +0000 Subject: [PATCH] Revert "Conditionally include `{{rule /}}` in select-filter `mixedString`" This reverts commit e6c811ae219ccf38b5f4f0cb5ae29e3e7463e36b. --- .../packages/components/src/filters/advanced/select-filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js b/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js index b7d30dfcf56..461b2186778 100644 --- a/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js +++ b/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js @@ -71,7 +71,7 @@ class SelectFilter extends Component { const { labels, rules } = config; const children = interpolateComponents( { mixedString: sprintf( - '{{title}}%s{{/title}}' + ( rules ? ' {{rule /}}' : '' ) + ' {{filter /}}', + '{{title}}%s{{/title}} {{rule /}} {{filter /}}', labels.title ), components: {