Guest User

Untitled

a guest
Jul 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. componentDidMount() {
  2. this.props.getResources()
  3. .then(() => {
  4. this.props.getUsers()
  5. .then(() => {
  6. this.props.getComments()
  7. .then(() => {
  8. this.props.getFiles()
  9. .then(() => {
  10. this.props.getAlts()
  11. .then(() => {
  12. this.props.getSubjects()
  13. .then(() => {
  14. this.props.getTemplates()
  15. .then(() => {
  16. this.props.getResourceTags()
  17. .then(() => {
  18. this.setState({
  19. resourcesLoaded: true
  20. });
  21. });
  22. });
  23. });
  24. });
  25. });
  26. });
  27. });
  28. });
  29. }
Add Comment
Please, Sign In to add comment