From 5288f817b03d43b561b0c76da31acff7c5ed2bc1 Mon Sep 17 00:00:00 2001 From: Kristof De Langhe Date: Wed, 13 Feb 2019 11:08:01 +0100 Subject: [PATCH] 59695: Fix AoT error and console warning --- .../browse-by-starts-with-abstract.component.ts | 7 +++++++ .../date/browse-by-starts-with-date.component.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/shared/browse-by/browse-by-starts-with/browse-by-starts-with-abstract.component.ts b/src/app/shared/browse-by/browse-by-starts-with/browse-by-starts-with-abstract.component.ts index 5486deb057..a51ad5e2ea 100644 --- a/src/app/shared/browse-by/browse-by-starts-with/browse-by-starts-with-abstract.component.ts +++ b/src/app/shared/browse-by/browse-by-starts-with/browse-by-starts-with-abstract.component.ts @@ -39,6 +39,13 @@ export class BrowseByStartsWithAbstractComponent implements OnInit, OnDestroy { }); } + /** + * Get startsWith as a number; + */ + getStartsWithAsNumber() { + return +this.startsWith; + } + /** * Set the startsWith by event * @param event diff --git a/src/app/shared/browse-by/browse-by-starts-with/date/browse-by-starts-with-date.component.html b/src/app/shared/browse-by/browse-by-starts-with/date/browse-by-starts-with-date.component.html index 43e53ea54d..0403e1b94f 100644 --- a/src/app/shared/browse-by/browse-by-starts-with/date/browse-by-starts-with-date.component.html +++ b/src/app/shared/browse-by/browse-by-starts-with/date/browse-by-starts-with-date.component.html @@ -16,7 +16,7 @@
- +