diff --git a/ui/packages/consul-peerings/app/templates/dc/peers/edit/exported.hbs b/ui/packages/consul-peerings/app/templates/dc/peers/edit/exported.hbs index 246097f772..dffbb14684 100644 --- a/ui/packages/consul-peerings/app/templates/dc/peers/edit/exported.hbs +++ b/ui/packages/consul-peerings/app/templates/dc/peers/edit/exported.hbs @@ -23,18 +23,15 @@ {{#if items.length}} -
-
- +
+ -
+
{{/if}} -
  • +
  • 0) { - const regex = new RegExp(`${search}`, 'ig'); - return items.filter((item) => { const matchesInSearchProperties = searchProperties.reduce((acc, searchProperty) => { - const match = item[searchProperty].match(regex); + const match = item[searchProperty].indexOf(search) !== -1; if (match) { return [...acc, match]; } else {