File tree Expand file tree Collapse file tree
events-helsinki/src/domain
hobbies-helsinki/src/domain
sports-helsinki/src/domain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,10 +105,6 @@ class AppConfig {
105105 return value ;
106106 }
107107
108- static get showEventLocationExtraInfo ( ) {
109- return true ;
110- }
111-
112108 static get showSimilarEvents ( ) {
113109 return Boolean (
114110 parseEnvValue ( process . env . NEXT_PUBLIC_SHOW_SIMILAR_EVENTS , true )
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import {
1818 Link ,
1919 HtmlToReact ,
2020} from 'react-helsinki-headless-cms' ;
21- import AppConfig from '../../../domain/app/AppConfig' ;
2221
2322import EventInfo from '../eventInfo/EventInfo' ;
2423import styles from './eventContent.module.scss' ;
@@ -68,7 +67,7 @@ const EventContent: React.FC<Props> = ({
6867 { description }
6968 </ HtmlToReact >
7069 </ div >
71- { AppConfig . showEventLocationExtraInfo && locationExtraInfo && (
70+ { locationExtraInfo && (
7271 < >
7372 < h2 className = { styles . descriptionTitle } >
7473 { t ( 'event:locationExtraInfo.title' ) }
Original file line number Diff line number Diff line change @@ -105,10 +105,6 @@ class AppConfig {
105105 return value ;
106106 }
107107
108- static get showEventLocationExtraInfo ( ) {
109- return false ;
110- }
111-
112108 static get showSimilarEvents ( ) {
113109 return Boolean (
114110 parseEnvValue ( process . env . NEXT_PUBLIC_SHOW_SIMILAR_EVENTS , true )
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import {
1818 Link ,
1919 HtmlToReact ,
2020} from 'react-helsinki-headless-cms' ;
21- import AppConfig from '../../../domain/app/AppConfig' ;
2221
2322import EventInfo from '../eventInfo/EventInfo' ;
2423import styles from './eventContent.module.scss' ;
Original file line number Diff line number Diff line change @@ -105,10 +105,6 @@ class AppConfig {
105105 return value ;
106106 }
107107
108- static get showEventLocationExtraInfo ( ) {
109- return false ;
110- }
111-
112108 static get showSimilarEvents ( ) {
113109 return Boolean (
114110 parseEnvValue ( process . env . NEXT_PUBLIC_SHOW_SIMILAR_EVENTS , true )
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import {
1818 Link ,
1919 HtmlToReact ,
2020} from 'react-helsinki-headless-cms' ;
21- import AppConfig from '../../../domain/app/AppConfig' ;
2221
2322import EventInfo from '../eventInfo/EventInfo' ;
2423import styles from './eventContent.module.scss' ;
You can’t perform that action at this time.
0 commit comments