File tree 3 files changed +7
-1
lines changed
_common/contact-option/CallOption
pages/contact-information-page
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ export const CallOption = ({
42
42
phoneNumber,
43
43
regularOpeningHours,
44
44
specialOpeningHours,
45
+ hideMoreLink,
45
46
text,
46
47
audience,
47
48
} : Props ) => {
@@ -102,7 +103,9 @@ export const CallOption = ({
102
103
className = { style . moreLink }
103
104
href = { getContactUrl ( ) }
104
105
>
105
- < BodyShort as = "span" > { sharedTranslations . seeMoreOptions } </ BodyShort >
106
+ { ! hideMoreLink && (
107
+ < BodyShort as = "span" > { sharedTranslations . seeMoreOptions } </ BodyShort >
108
+ ) }
106
109
</ LenkeBase >
107
110
</ div >
108
111
</ div >
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export const ContactInformationPage = (props: ContactInformationProps) => {
43
43
title = { telephone . title }
44
44
alertText = { telephone . alertText }
45
45
text = { telephone . text }
46
+ hideMoreLink = { telephone . hideMoreLink }
46
47
phoneNumber = { telephone . phoneNumber }
47
48
regularOpeningHours = { telephone . regularOpeningHours }
48
49
specialOpeningHours = { telephone . specialOpeningHours }
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ export type DefaultContactData = {
63
63
ingress ?: ProcessedHtmlProps ;
64
64
title ?: string ;
65
65
url ?: string ;
66
+ hideMoreLink ?: boolean ;
66
67
icon ?: 'facebook' | 'linkedin' ;
67
68
sharedContactInformation ?: {
68
69
_path : string ;
@@ -81,6 +82,7 @@ export type TelephoneData = {
81
82
title ?: string ;
82
83
text ?: string ;
83
84
alertText ?: string ;
85
+ hideMoreLink ?: boolean ;
84
86
regularOpeningHours ?: RegularOpeningHours ;
85
87
specialOpeningHours ?: SpecialOpeningHours ;
86
88
audience ?: AudienceOptions ;
You can’t perform that action at this time.
0 commit comments