Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
paronne committed May 3, 2024
1 parent c18cee0 commit 8626148
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions svyPopupFilter/svyToolbarFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2533,6 +2533,7 @@ function initListComponentFilterRenderer() {
var operatorText = this.getOperatorText(operator);

for (var i = 0; i < count; i++) {
/** @type {{dataprovider:String, id: String}} */
var filterTag = element.getEntry(i);
// TODO can i rely on dataprovider only !?
if (filterTag && filterTag.dataprovider == dataprovider) {
Expand Down Expand Up @@ -2638,6 +2639,7 @@ function initListComponentFilterRenderer() {
ListComponentFilterRenderer.prototype.getFilterTagIndex = function(filter) {
var count = this.getElement().getEntriesCount();
for (var i = 0; i < count; i++) {
/** @type {{dataprovider:String, id: String}} */
var filterTag = this.getElement().getEntry(i);
// TODO can i rely on dataprovider only !?
if (filterTag && filterTag.id == filter.id) {
Expand Down

0 comments on commit 8626148

Please sign in to comment.