Permalink
Browse files

Release 1.6.3: fixed consul-ui filtering with tags/serviceName

  • Loading branch information...
pierresouchay committed Dec 4, 2018
1 parent 2be5426 commit 852049e527ed88eae11a4222ea07f57d502f4c71
Showing with 9 additions and 3 deletions.
  1. +6 −0 CHANGELOG.md
  2. +1 −1 lib/consul/async/version.rb
  3. +2 −2 samples/consul-ui/js/service.js
@@ -2,6 +2,12 @@
## (UNRELEASED)
## 1.6.3 (December 4, 2018)
BUG FIXES:
* consul-ui: Filtering per tag / service name was broken by commit 410a5407dbff10ae565c214674d986cd84ffed53
## 1.6.2 (December 4, 2018)
BUG FIXES:
@@ -1,5 +1,5 @@
module Consul
module Async
VERSION = '1.6.2'.freeze
VERSION = '1.6.3'.freeze
end
end
@@ -89,7 +89,7 @@ class ConsulService {
listItem.setAttribute('value',serviceName);
listItem.setAttribute('data-fav', this.favorites[serviceName] ? 1 : 0);
listItem.setAttribute('data-index', idx);
var listItemClass = 'list-group-item list-group-item-action';
var listItemClass = 'serviceListItem list-group-item list-group-item-action';
var statuses = document.createElement('div');
statuses.setAttribute('class','statuses float-right');
@@ -167,7 +167,7 @@ class ConsulService {
}
consulService.serviceFilterCount = 0;
var showProxiesInList = this.showProxiesInList;
consulService.serviceList.children('button').each(function (){
consulService.serviceList.children('.serviceListItem').each(function (){
var ui = $(this);
if(serviceMatcher(this, filter, showProxiesInList)) {
ui.removeClass('d-none');

0 comments on commit 852049e

Please sign in to comment.