|
@@ -9,8 +9,6 @@ import useWaitForI18n from '../../../shared/hooks/use-wait-for-i18n'
|
|
|
import CurrentPlanWidget from './current-plan-widget/current-plan-widget'
|
|
import CurrentPlanWidget from './current-plan-widget/current-plan-widget'
|
|
|
import NewProjectButton from './new-project-button'
|
|
import NewProjectButton from './new-project-button'
|
|
|
import ProjectListTable from './table/project-list-table'
|
|
import ProjectListTable from './table/project-list-table'
|
|
|
-import SidebarFilters from './sidebar/sidebar-filters'
|
|
|
|
|
-import AddAffiliation, { useAddAffiliation } from './sidebar/add-affiliation'
|
|
|
|
|
import SurveyWidget from './survey-widget'
|
|
import SurveyWidget from './survey-widget'
|
|
|
import WelcomeMessage from './welcome-message'
|
|
import WelcomeMessage from './welcome-message'
|
|
|
import LoadingBranded from '../../../shared/components/loading-branded'
|
|
import LoadingBranded from '../../../shared/components/loading-branded'
|
|
@@ -20,6 +18,7 @@ import SearchForm from './search-form'
|
|
|
import ProjectsDropdown from './dropdown/projects-dropdown'
|
|
import ProjectsDropdown from './dropdown/projects-dropdown'
|
|
|
import SortByDropdown from './dropdown/sort-by-dropdown'
|
|
import SortByDropdown from './dropdown/sort-by-dropdown'
|
|
|
import ProjectTools from './table/project-tools/project-tools'
|
|
import ProjectTools from './table/project-tools/project-tools'
|
|
|
|
|
+import Sidebar from './sidebar/sidebar'
|
|
|
import LoadMore from './load-more'
|
|
import LoadMore from './load-more'
|
|
|
import { useEffect } from 'react'
|
|
import { useEffect } from 'react'
|
|
|
|
|
|
|
@@ -43,7 +42,6 @@ function ProjectListPageContent() {
|
|
|
setSearchText,
|
|
setSearchText,
|
|
|
selectedProjects,
|
|
selectedProjects,
|
|
|
} = useProjectListContext()
|
|
} = useProjectListContext()
|
|
|
- const { show: showAddAffiliationWidget } = useAddAffiliation()
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
useEffect(() => {
|
|
|
eventTracking.sendMB('loads_v2_dash', {})
|
|
eventTracking.sendMB('loads_v2_dash', {})
|
|
@@ -59,16 +57,7 @@ function ProjectListPageContent() {
|
|
|
<div className="project-list-wrapper clearfix">
|
|
<div className="project-list-wrapper clearfix">
|
|
|
{totalProjectsCount > 0 ? (
|
|
{totalProjectsCount > 0 ? (
|
|
|
<>
|
|
<>
|
|
|
- <div className="project-list-sidebar-wrapper-react hidden-xs">
|
|
|
|
|
- <div className="project-list-sidebar-subwrapper">
|
|
|
|
|
- <aside className="project-list-sidebar-react">
|
|
|
|
|
- <NewProjectButton id="new-project-button-sidebar" />
|
|
|
|
|
- <SidebarFilters />
|
|
|
|
|
- {showAddAffiliationWidget && <hr />}
|
|
|
|
|
- <AddAffiliation />
|
|
|
|
|
- </aside>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <Sidebar />
|
|
|
<div className="project-list-main-react">
|
|
<div className="project-list-main-react">
|
|
|
{error ? <DashApiError /> : ''}
|
|
{error ? <DashApiError /> : ''}
|
|
|
<Row>
|
|
<Row>
|