Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5794 Rev 5795
Línea 10... Línea 10...
10
import GroupMembersHelper from '../../../shared/helpers/group-members-helper/GroupMembersHelper'
10
import GroupMembersHelper from '../../../shared/helpers/group-members-helper/GroupMembersHelper'
11
import GroupAttr from './component/GroupAttr'
11
import GroupAttr from './component/GroupAttr'
12
import Cover from '../../../shared/cover/Cover'
12
import Cover from '../../../shared/cover/Cover'
13
import SuggestWidget from '../../../shared/helpers/my-groups-helper/SuggestWidget'
13
import SuggestWidget from '../../../shared/helpers/my-groups-helper/SuggestWidget'
14
import { useDispatch } from 'react-redux'
14
import { useDispatch } from 'react-redux'
-
 
15
import { setIntlLabels } from '../../../redux/intl/intl.action'
Línea 15... Línea 16...
15
 
16
 
16
const View = ({
17
const View = ({
17
  routeTimeline,
18
  routeTimeline,
18
  groupId,
19
  groupId,
Línea 26... Línea 27...
26
  privacy,
27
  privacy,
27
  accessibility,
28
  accessibility,
28
  website,
29
  website,
29
  withoutFeeds,
30
  withoutFeeds,
30
  linkInmail,
31
  linkInmail,
-
 
32
  labels,
31
}) => {
33
}) => {
32
  const groupTabs = {
34
  const groupTabs = {
33
    FEED_TAB: 'FEED_TAB',
35
    FEED_TAB: 'FEED_TAB',
34
    INFO_TAB: 'INFO_TAB',
36
    INFO_TAB: 'INFO_TAB',
35
  }
37
  }
Línea 54... Línea 56...
54
      .catch((err) => console.log('>>: err > ', err))
56
      .catch((err) => console.log('>>: err > ', err))
55
  }
57
  }
Línea 56... Línea 58...
56
 
58
 
Línea -... Línea 59...
-
 
59
  useEffect(() => load(), [])
57
  useEffect(() => load(), [])
60
 
-
 
61
  useEffect(() => {
-
 
62
    dispatch(setTimelineUrl(routeTimeline))
Línea 58... Línea 63...
58
 
63
    dispatch(setIntlLabels(labels))
59
  useEffect(() => dispatch(setTimelineUrl(routeTimeline)), [])
64
  }, [])
60
 
65
 
61
  const handleActionLink = (url) => {
66
  const handleActionLink = (url) => {
Línea 232... Línea 237...
232
              )}
237
              )}
233
            </div>
238
            </div>
234
          )}
239
          )}
235
        </div>
240
        </div>
236
        <div className="right-sidebar">
241
        <div className="right-sidebar">
-
 
242
          <SuggestWidget
-
 
243
            title="Grupos:"
237
          <SuggestWidget title="Grupos:" url="/helpers/groups-suggestion" />
244
            url="/helpers/groups-suggestion"
-
 
245
            btnLabelAccept={labels.GROUP_VIEW}
-
 
246
          />
238
        </div>
247
        </div>
239
      </main>
248
      </main>
240
    </>
249
    </>
241
  )
250
  )
242
}
251
}