Skip to content

Commit

Permalink
Import DataSource 01 Restructuring - Fix one more build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adube committed Oct 13, 2017
1 parent 1219824 commit 009e617
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contribs/gmf/src/datasource/datasourcesmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,13 +590,12 @@ gmf.datasource.DataSourcesManager = class {
if (Array.isArray(siblingDataSourceIds)) {
const ngeoDataSources = this.ngeoDataSources_.getArray();
for (const ngeoDataSource of ngeoDataSources) {
if (ngeoDataSource.filterRules !== null &&
if (ngeoDataSource instanceof gmf.datasource.OGC &&
ngeoDataSource.filterRules !== null &&
ngeoDataSource.id !== dataSource.id &&
siblingDataSourceIds.includes(ngeoDataSource.id) &&
ngeoDataSource.visible
) {
goog.asserts.assertInstanceof(
ngeoDataSource, gmf.datasource.OGC);
this.handleDataSourceFilterRulesChange_(ngeoDataSource, true);
break;
}
Expand Down

0 comments on commit 009e617

Please sign in to comment.