We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6151fdc + ddd9f46 commit 75c5cafCopy full SHA for 75c5caf
labelFilter.js
@@ -25,11 +25,13 @@ angular.module('kubernetesUI')
25
26
LabelFilter.prototype.setLabelSuggestions = function(suggestions) {
27
this._existingLabels = suggestions;
28
- this._labelFilterKeySelectize.clearOptions();
29
- var self = this;
30
- this._labelFilterKeySelectize.load(function(callback) {
31
- callback(self._getLabelFilterKeys());
32
- });
+ if (this._labelFilterKeySelectize) {
+ this._labelFilterKeySelectize.clearOptions();
+ var self = this;
+ this._labelFilterKeySelectize.load(function(callback) {
+ callback(self._getLabelFilterKeys());
33
+ });
34
+ }
35
};
36
37
LabelFilter.prototype._extractLabelsFromItem = function(item, map) {
0 commit comments