diff --git a/src/components/Generator.js b/src/components/Generator.js
index 9649a3a..3854e50 100644
--- a/src/components/Generator.js
+++ b/src/components/Generator.js
@@ -13,6 +13,7 @@ import SelectTemplate from './SelectTemplate';
import SelectRuleTemplates from './SelectRuleTemplates';
import { componentsWithMapOptions } from '../stores/generatorStore';
import TerminalSelect from './TerminalSelect';
+import LineSelect from './LineSelect';
const Root = styled.div`
display: flex;
@@ -102,7 +103,10 @@ const Generator = props => {
valuesByLabel={generatorStore.rowTypesByLabel}
valueSelected={generatorStore.rowType}
onChange={value => generatorStore.setRowType(value)}
- disabled={generatorStore.component === 'TerminalPoster'}
+ disabled={
+ generatorStore.component === 'TerminalPoster' ||
+ generatorStore.component === 'LineTimetable'
+ }
/>
@@ -112,6 +116,7 @@ const Generator = props => {
valuesByLabel={{ Talvi: false, Kesä: true }}
valueSelected={generatorStore.isSummerTimetable}
onChange={value => generatorStore.setIsSummerTimetable(value)}
+ disabled={generatorStore.component === 'LineTimetable'}
/>
@@ -158,29 +163,43 @@ const Generator = props => {
)}
-