Raathigesh / lazymine

Simple redmine portal for time entry.
http://lazymine.github.io
MIT License
16 stars 6 forks source link

Time entered tasks takes too much time to load. #95

Closed isuru88 closed 8 years ago

isuru88 commented 8 years ago

Steps to recreate

chathuranga commented 8 years ago

Had a look at what's going on. The issue seems to be due to the new data fetch, getTimeEntriesForWeek done at the componentDidMount of the app-Container. @Raathigesh,I think we should be calling this method from the data-manager's fetchData adding another call similar to getTaskCollection and getTimeEntryActivities. That way State.isLoading would be handled from a single location, where it's done from two places now making the pre-loader go away right after returning short call of getting the time entries for the week.

chathuranga commented 8 years ago

Someone to check it and close :)

Raathigesh commented 8 years ago

Works fine!