client/skr/components/UserPreferences.cjsx in stockor-0.4.0 vs client/skr/components/UserPreferences.cjsx in stockor-0.5.0
- old
+ new
@@ -1,6 +1,6 @@
class Skr.Components.UserPreferences extends Lanes.React.Component
- dataObjects:
+ modelBindings:
user: -> Lanes.current_user
projects: -> new Skr.Models.CustomerProject.Collection
componentWillMount: -> @projects.ensureLoaded()