aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/packs
diff options
context:
space:
mode:
authorZog2017-12-27 09:10:56 +0100
committerZog2017-12-27 12:08:07 +0100
commit78e2d256f895c1014a3def5f2ef6509086755215 (patch)
treebce880b597b1baa9ce681b444cf6f8219189abb2 /app/javascript/packs
parent43dd9a4abc58b9c7cf2203a5e7125a7788bb33b3 (diff)
downloadchouette-core-78e2d256f895c1014a3def5f2ef6509086755215.tar.bz2
Refs #5407 @4h; First UI implementation
- Add most of the react code - And the specs where possible Still remains: - Link PurchaseWindows to VehicleJourneys in the model - Add an autocompletion endpoint
Diffstat (limited to 'app/javascript/packs')
-rw-r--r--app/javascript/packs/vehicle_journeys/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/packs/vehicle_journeys/index.js b/app/javascript/packs/vehicle_journeys/index.js
index 38431af1d..7e57afb04 100644
--- a/app/javascript/packs/vehicle_journeys/index.js
+++ b/app/javascript/packs/vehicle_journeys/index.js
@@ -23,6 +23,7 @@ var initialState = {
filters: {
selectedJourneyPatterns : selectedJP,
policy: window.perms,
+ features: window.features,
toggleArrivals: false,
queryString: '',
query: {
@@ -99,4 +100,4 @@ render(
<App />
</Provider>,
document.getElementById('vehicle_journeys_wip')
-) \ No newline at end of file
+)