Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1611 | Rev 1765 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1611 Rev 1650
Línea 8... Línea 8...
8
import {
8
import {
9
  closeShareModal,
9
  closeShareModal,
10
  openShareModal,
10
  openShareModal,
11
  setModalType
11
  setModalType
12
} from '@app/redux/share-modal/shareModal.actions'
12
} from '@app/redux/share-modal/shareModal.actions'
13
import { addFeed, fetchFeeds } from '@app/redux/feed/feed.actions'
13
import { addFeed } from '@app/redux/feed/feed.actions'
Línea 14... Línea 14...
14
 
14
 
15
import { shareModalTypes } from '@app/redux/share-modal/shareModal.types'
15
import { shareModalTypes } from '@app/redux/share-modal/shareModal.types'
Línea 16... Línea 16...
16
import { feedTypes } from '@app/redux/feed/feed.types'
16
import { feedTypes } from '@app/redux/feed/feed.types'
Línea 26... Línea 26...
26
  isOpen,
26
  isOpen,
27
  modalType,
27
  modalType,
28
  lastModalType,
28
  lastModalType,
29
  setModalType,
29
  setModalType,
30
  feedType,
30
  feedType,
31
  fetchFeeds,
-
 
32
  currentPage,
-
 
33
  timelineUrl,
-
 
34
  feedSharedId,
31
  feedSharedId,
35
  closeShareModal, // Redux action
32
  closeShareModal, // Redux action
36
  addNotification, // Redux action
33
  addNotification, // Redux action
37
  addFeed, // Redux action
34
  addFeed, // Redux action
38
  openShareModal // Redux action
35
  openShareModal // Redux action
Línea 123... Línea 120...
123
        if (feedSharedId) {
120
        if (feedSharedId) {
124
          addFeed(newFeed, feedSharedId)
121
          addFeed(newFeed, feedSharedId)
125
        } else {
122
        } else {
126
          addFeed(newFeed)
123
          addFeed(newFeed)
127
        }
124
        }
128
 
-
 
129
        if (currentPage && timelineUrl) {
-
 
130
          fetchFeeds(timelineUrl, currentPage)
-
 
131
        }
-
 
132
      })
125
      })
133
      .finally(() => setLoading(false))
126
      .finally(() => setLoading(false))
134
  })
127
  })
Línea 135... Línea 128...
135
 
128
 
Línea 251... Línea 244...
251
  addNotification: (notification) => addNotification(notification),
244
  addNotification: (notification) => addNotification(notification),
252
  closeShareModal: () => closeShareModal(),
245
  closeShareModal: () => closeShareModal(),
253
  openShareModal: (postUrl, modalType, feedType) =>
246
  openShareModal: (postUrl, modalType, feedType) =>
254
    openShareModal(postUrl, modalType, feedType),
247
    openShareModal(postUrl, modalType, feedType),
255
  setModalType: (modalType) => setModalType(modalType),
248
  setModalType: (modalType) => setModalType(modalType),
256
  addFeed: (feed, feedSharedId) => addFeed(feed, feedSharedId),
249
  addFeed: (feed, feedSharedId) => addFeed(feed, feedSharedId)
257
  fetchFeeds: (url, page) => fetchFeeds(url, page)
-
 
258
}
250
}
Línea 259... Línea 251...
259
 
251