Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4295 Rev 4309
Línea 14... Línea 14...
14
import { openShareModal } from '../../../../redux/share-modal/shareModal.actions'
14
import { openShareModal } from '../../../../redux/share-modal/shareModal.actions'
15
import { shareModalTypes } from '../../../../redux/share-modal/shareModal.types'
15
import { shareModalTypes } from '../../../../redux/share-modal/shareModal.types'
16
import { feedTypes } from '../../../../redux/feed/feed.types'
16
import { feedTypes } from '../../../../redux/feed/feed.types'
17
import FeedCommentSection from '../../../components/feed/feed-comment/FeedCommentSection'
17
import FeedCommentSection from '../../../components/feed/feed-comment/FeedCommentSection'
18
import { connect } from 'react-redux'
18
import { connect } from 'react-redux'
19
import withReactionList from './withReactionList'
19
import withExternalShare from './withExternalShare'
20
import SharedContent from '../../../components/feed/SharedContent'
20
import SharedContent from '../../../components/feed/SharedContent'
Línea 21... Línea 21...
21
 
21
 
-
 
22
const Feed = ({
22
const Feed = ({
23
  isShare,
23
  feed_unique,
24
  feed_unique,
24
  feed_is_liked,
25
  feed_is_liked,
25
  feed_like_url,
26
  feed_like_url,
26
  feed_unlike_url,
27
  feed_unlike_url,
Línea 73... Línea 74...
73
 
74
 
Línea 74... Línea 75...
74
  const handleShare = () => openShareModal(feed_share_url, shareModalTypes.SHARE, feedTypes.DASHBOARD, feed_unique)
75
  const handleShare = () => openShareModal(feed_share_url, shareModalTypes.SHARE, feedTypes.DASHBOARD, feed_unique)
Línea 75... Línea 76...
75
 
76
 
Línea 76... Línea 77...
76
  const displayCommentSection = () => setShowComments(!showComments)
77
  const displayCommentSection = () => setShowComments(!showComments)
77
 
78
 
Línea 78... Línea 79...
78
  const ExternalShareButton = withReactionList(InputOption, feed_share_external_url, { Icon: SendOutlinedIcon, color: 'gray', title: 'Send' })
79
  const ExternalShareButton = withExternalShare(InputOption, feed_share_external_url, { Icon: SendOutlinedIcon, color: 'gray', title: 'Send' })
Línea 168... Línea 169...
168
        <a href={ownerFileDocument} target="_blank" rel="noreferrer">
169
        <a href={ownerFileDocument} target="_blank" rel="noreferrer">
169
          Descargar
170
          Descargar
170
        </a>
171
        </a>
171
      }
172
      }
172
      {sharedItem.name &&
173
      {sharedItem.name &&
-
 
174
        <div className="p-3">
173
        <SharedContent
175
          <Feed
174
          name={sharedItem.name}
176
            owner_name={sharedItem.name}
175
          image={sharedItem.image}
177
            owner_image={sharedItem.image}
176
          timeElapse={sharedItem.time_elapse}
178
            owner_time_elapse={sharedItem.time_elapse}
177
          description={sharedItem.description}
179
            owner_description={sharedItem.description}
178
          fileVideo={sharedItem.file_video}
180
            owner_file_video={sharedItem.file_video}
179
          fileImagePreview={sharedItem.file_image_preview}
181
            owner_file_image_preview={sharedItem.file_image_preview}
180
          fileImage={sharedItem.file_image}
182
            owner_file_image={sharedItem.file_image}
181
          fileDocument={sharedItem.file_document}
183
            owner_file_document={sharedItem.file_document}
182
        />
184
          />
-
 
185
        </div>
183
      }
186
      }
184
    </>
187
    </>
185
  )
188
  )
186
}
189
}