Remove the use of coordinates in the dashboard since we're not actually creating them.
This commit is contained in:
parent
825feea620
commit
ed177e03d6
2 changed files with 0 additions and 3 deletions
|
@ -17,8 +17,6 @@ client.get('/nonprofits/' + app.nonprofit_id + '/dashboard_metrics')
|
|||
})
|
||||
|
||||
var map = require('../../components/maps/cc_map')
|
||||
var npo_coords = require('../../components/maps/npo_coordinates')()
|
||||
map.init('all-npo-supporters', {center: npo_coords}, {npo_id: app.nonprofit.id})
|
||||
|
||||
var todos = require('../../components/todos')
|
||||
appl.def('todos_action', '/dashboard_todos')
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
const flyd = require('flimflam/flyd') // for ajaxing /index_metrics, line 27
|
||||
const request = require('../../../common/request') // for ajaxing /index_metrics
|
||||
var map = require('../../../components/maps/cc_map')
|
||||
var npo_coords = require('../../../components/maps/npo_coordinates')()
|
||||
|
||||
appl.def('supporters.selected', [])
|
||||
|
||||
|
|
Loading…
Reference in a new issue