From 55b4854d67377a5b806d4ff0a3dc72f41b431e4d Mon Sep 17 00:00:00 2001 From: Richard Janssen Date: Wed, 13 Mar 2024 21:18:13 +0100 Subject: [PATCH] Remove option to collapse location highlight --- src/app/core/constants.ts | 6 +----- .../point-highlight-details.component.ts | 2 +- .../point-highlight/point-highlight.component.html | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/app/core/constants.ts b/src/app/core/constants.ts index 2225d38..3bc0be3 100644 --- a/src/app/core/constants.ts +++ b/src/app/core/constants.ts @@ -1,9 +1,5 @@ import { PointHighlightType } from './types/highlight.type'; export class Constants { - public static readonly expandableHighlightTypes: PointHighlightType[] = [ - PointHighlightType.photo, - PointHighlightType.blog, - PointHighlightType.location - ]; + public static readonly expandableHighlightTypes: PointHighlightType[] = [PointHighlightType.photo, PointHighlightType.blog]; } diff --git a/src/app/pages/hike/highlights-chain/point-highlight/point-highlight-details/point-highlight-details.component.ts b/src/app/pages/hike/highlights-chain/point-highlight/point-highlight-details/point-highlight-details.component.ts index 64703e0..ca08b5a 100644 --- a/src/app/pages/hike/highlights-chain/point-highlight/point-highlight-details/point-highlight-details.component.ts +++ b/src/app/pages/hike/highlights-chain/point-highlight/point-highlight-details/point-highlight-details.component.ts @@ -16,5 +16,5 @@ export class PointHighlightDetailsComponent { @Input() highlight: PointHighlight; pointHighlightType = PointHighlightType; - expandableHighlightTypes = Constants.expandableHighlightTypes; + expandableHighlightTypes = [...Constants.expandableHighlightTypes, PointHighlightType.location]; } diff --git a/src/app/pages/hike/highlights-chain/point-highlight/point-highlight.component.html b/src/app/pages/hike/highlights-chain/point-highlight/point-highlight.component.html index 644aae2..4dd487d 100644 --- a/src/app/pages/hike/highlights-chain/point-highlight/point-highlight.component.html +++ b/src/app/pages/hike/highlights-chain/point-highlight/point-highlight.component.html @@ -14,7 +14,7 @@ -
+
Bekijk minder