We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b132ec9 commit 67653caCopy full SHA for 67653ca
src/components/timetable/timetable.js
@@ -173,10 +173,12 @@ class Timetable extends Component {
173
<div className={styles.subtitle}>Stop timetable</div>
174
</div>
175
)}
176
- <div className={styles.validFrom}>
177
- Aikataulu alkaen {formatDate(date)} - / Tidtabeller fran {formatDate(date)} - /Timetables
178
- from {formatDate(date)} -
179
- </div>
+ {intervalTimetable && (
+ <div className={styles.validFrom}>
+ Aikataulu alkaen {formatDate(date)} - / Tidtabeller fran {formatDate(date)} -
+ /Timetables from {formatDate(date)} -
180
+ </div>
181
+ )}
182
183
{this.props.standalone && (
184
<React.Fragment>
0 commit comments