From 91af53dce7183146f79313df48f7e58b4d950598 Mon Sep 17 00:00:00 2001
From: cedricnjanga
Date: Tue, 10 Oct 2017 01:23:01 +0200
Subject: Add plugins to webpack config
---
app/javascript/time_tables/components/Navigate.js | 4 ++--
app/javascript/time_tables/components/PeriodForm.js | 4 ++--
app/javascript/time_tables/components/SaveTimetable.js | 1 -
app/javascript/time_tables/components/TagsSelect2.js | 13 ++++++++-----
4 files changed, 12 insertions(+), 10 deletions(-)
(limited to 'app/javascript/time_tables/components')
diff --git a/app/javascript/time_tables/components/Navigate.js b/app/javascript/time_tables/components/Navigate.js
index 6ae80bce0..7307d819b 100644
--- a/app/javascript/time_tables/components/Navigate.js
+++ b/app/javascript/time_tables/components/Navigate.js
@@ -1,5 +1,5 @@
import React, { PropTypes, Component } from 'react'
-import _ from 'lodash'
+import map from 'lodash/map'
import actions from '../actions'
export default function Navigate({ dispatch, metas, timetable, pagination, status, filters}) {
@@ -30,7 +30,7 @@ export default function Navigate({ dispatch, metas, timetable, pagination, statu
className='dropdown-menu'
aria-labelledby='date_selector'
>
- {_.map(pagination.periode_range, (month, i) => (
+ {map(pagination.periode_range, (month, i) => (