Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2955 Rev 2964
Línea 8... Línea 8...
8
  setCurrentPage,
8
  setCurrentPage,
9
  setTimelineUrl
9
  setTimelineUrl
10
} from '@app/redux/feed/feed.actions'
10
} from '@app/redux/feed/feed.actions'
11
import { feedTypes } from '@app/redux/feed/feed.types'
11
import { feedTypes } from '@app/redux/feed/feed.types'
Línea 12... Línea -...
12
 
-
 
13
import PaginationComponent from '@app/components/UI/PaginationComponent'
12
 
14
import Spinner from '@app/components/UI/Spinner'
13
import Spinner from '@app/components/UI/Spinner'
15
import AppGrid from '@app/components/UI/layout/AppGrid'
14
import AppGrid from '@app/components/UI/layout/AppGrid'
16
import GroupsWidget from '@app/components/dashboard/linkedin/Groups'
15
import GroupsWidget from '@app/components/dashboard/linkedin/Groups'
17
import UserProfileCard from '@app/components/dashboard/linkedin/user-profile-card'
16
import UserProfileCard from '@app/components/dashboard/linkedin/user-profile-card'
Línea 23... Línea 22...
23
import HomeNews from '@app/components/widgets/default/HomeNews'
22
import HomeNews from '@app/components/widgets/default/HomeNews'
24
import PeopleYouMayKnow from '@app/components/widgets/default/PeopleYouMayKnow'
23
import PeopleYouMayKnow from '@app/components/widgets/default/PeopleYouMayKnow'
25
import AppsWidget from '@components/dashboard/widgets/AppsWidget'
24
import AppsWidget from '@components/dashboard/widgets/AppsWidget'
26
import OnRoomWidget from '@components/dashboard/widgets/OnRoomWidget'
25
import OnRoomWidget from '@components/dashboard/widgets/OnRoomWidget'
27
import MicrolearningWidget from '@components/dashboard/widgets/MicrolearningWidget'
26
import MicrolearningWidget from '@components/dashboard/widgets/MicrolearningWidget'
-
 
27
import Pagination from '@components/common/Pagination'
Línea 28... Línea 28...
28
 
28
 
29
const DashboardPage = () => {
29
const DashboardPage = () => {
30
  const { feeds, timelineUrl, currentPage, loading, pages } = useSelector(
30
  const { feeds, timelineUrl, currentPage, loading, pages } = useSelector(
31
    ({ feed }) => feed
31
    ({ feed }) => feed
Línea 97... Línea 97...
97
              image={data?.image}
97
              image={data?.image}
98
              feedType={feedTypes.DASHBOARD}
98
              feedType={feedTypes.DASHBOARD}
99
              postUrl='/feed/add'
99
              postUrl='/feed/add'
100
            />
100
            />
101
            {loading ? <Spinner /> : <FeedList feeds={allFeeds} />}
101
            {loading ? <Spinner /> : <FeedList feeds={allFeeds} />}
102
            <PaginationComponent
102
            <Pagination
103
              pages={pages}
103
              pages={pages}
104
              currentActivePage={currentPage}
104
              page={currentPage}
105
              onChangePage={onChangePageHandler}
105
              onChange={onChangePageHandler}
106
            />
106
            />
107
          </>
107
          </>
108
        )}
108
        )}
109
        renderAside={() => (
109
        renderAside={() => (
110
          <>
110
          <>