From 892380c2228b97894d5c8754fa4721c26520504b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Barbeau?= Date: Thu, 12 Apr 2018 11:03:31 -0400 Subject: [PATCH] fix(filter): fix typage --- src/lib/datasource/shared/datasources/datasource.ts | 1 - .../filter/ogc-filter-form/ogc-filter-form.component.html | 2 +- .../ogc-filterable-item/ogc-filterable-item.component.ts | 6 +++--- src/lib/layer/layer-item/layer-item.component.html | 6 +++--- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/lib/datasource/shared/datasources/datasource.ts b/src/lib/datasource/shared/datasources/datasource.ts index e1758bdefa..50ceec5384 100644 --- a/src/lib/datasource/shared/datasources/datasource.ts +++ b/src/lib/datasource/shared/datasources/datasource.ts @@ -7,7 +7,6 @@ export abstract class DataSource { public id: string; public ol: ol.source.Source; - get title(): string { return this.options.alias ? this.options.alias : this.options.title; } diff --git a/src/lib/filter/ogc-filter-form/ogc-filter-form.component.html b/src/lib/filter/ogc-filter-form/ogc-filter-form.component.html index db4596a5c0..e674e8b064 100644 --- a/src/lib/filter/ogc-filter-form/ogc-filter-form.component.html +++ b/src/lib/filter/ogc-filter-form/ogc-filter-form.component.html @@ -198,7 +198,7 @@
+ [disabled]="!currentFilter.active"> - +