Skip to content

Commit 59ba6c3

Browse files
committed
Merge pull request #23 from sg00dwin/flex-label-filter
Fix bug from 1.0.0 release where clear filter button wasn't re-rendered once filter had been cleared once
2 parents 38e1855 + d7ff988 commit 59ba6c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kubernetes-label-selector",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Provides a LabelSelector object that understand kubernetes labels and label selector syntax, and works directly with JSON API objects from kubernetes. Also provides a label filtering widget.",
55
"moduleType": [
66
"globals"

labelFilter.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ angular.module('kubernetesUI')
145145
)
146146
).click(function() {
147147
$(this).hide();
148-
self._labelFilterActiveFiltersElement.empty();
148+
self._labelFilterActiveFiltersElement
149+
.find('.label-filter-active-filter')
150+
.remove();
149151
self._clearActiveFilters();
150152
});
151153

0 commit comments

Comments
 (0)