@@ -184,7 +184,7 @@ const SubHeader = ({count, onClick, isCollapsed, header, indicatorColor, isFirst
184184}
185185
186186
187- const CandidateList = ( { candidates, header, rowIndex, orderBy, order, setShowItem, showItem, setShowHighlights, isSelectedForMap, onMap, onFetchMore, bgColor, bucketId, display, onDisplayChange, noToolbar, toolbarControl, repoVersion, alignToolbarLeft, rightControl, analysis, showAnalysis, openAnalysis, onCloseAnalysis, AIRecommendedCandidateId, locales, scispacy, showAlgo, collapsed, onCollapse, candidatesScore, algoScoreFirst, conceptCache, byAlgorithm, isFirst} ) => {
187+ const CandidateList = ( { candidates, header, rowIndex, orderBy, order, setShowItem, showItem, setShowHighlights, isSelectedForMap, onMap, onFetchMore, bgColor, bucketId, display, onDisplayChange, noToolbar, toolbarControl, repoVersion, alignToolbarLeft, rightControl, analysis, showAnalysis, openAnalysis, onCloseAnalysis, AIRecommendedCandidateId, locales, scispacy, showAlgo, collapsed, onCollapse, candidatesScore, algoScoreFirst, conceptCache, byAlgorithm, isFirst, isCoreUser } ) => {
188188 const results = { total : onFetchMore ? candidates ?. length : 1 , results : candidates || [ ] }
189189 const isCollapsed = collapsed . includes ( bucketId )
190190 const onCollapseToggle = ( ) => {
@@ -248,7 +248,7 @@ const CandidateList = ({candidates, header, rowIndex, orderBy, order, setShowIte
248248 subheader = {
249249 ( showAnalysis && openAnalysis ) ? (
250250 < div className = 'col-xs-12 padding-0' style = { { display : 'inline-flex' , flexDirection : 'column' } } >
251- < AICandidatesAnalysis analysis = { analysis } onClose = { onCloseAnalysis } sx = { { marginBottom : '4px' } } />
251+ < AICandidatesAnalysis analysis = { analysis } onClose = { onCloseAnalysis } sx = { { marginBottom : '4px' } } isCoreUser = { isCoreUser } />
252252 {
253253 showHeader &&
254254 < SubHeader count = { count } onClick = { onCollapseToggle } isCollapsed = { isCollapsed } header = { header } indicatorColor = { bgColor } isFirst = { isFirst } />
@@ -293,7 +293,7 @@ const CandidateList = ({candidates, header, rowIndex, orderBy, order, setShowIte
293293 )
294294}
295295
296- const Candidates = ( { rowIndex, alert, setAlert, candidates, setShowItem, showItem, setShowHighlights, isSelectedForMap, onMap, onFetchMore, isLoading, candidatesScore, repoVersion, analysis, onFetchRecommendation, appliedFacets, setAppliedFacets, filters, facets, columns, defaultFilters, locales, models, selectedModel, onModelChange, onRefreshClick, rowStage, inAIAssistantGroup, algosSelected, conceptCache} ) => {
296+ const Candidates = ( { rowIndex, alert, setAlert, candidates, setShowItem, showItem, setShowHighlights, isSelectedForMap, onMap, onFetchMore, isLoading, candidatesScore, repoVersion, analysis, onFetchRecommendation, appliedFacets, setAppliedFacets, filters, facets, columns, defaultFilters, locales, models, selectedModel, onModelChange, onRefreshClick, rowStage, inAIAssistantGroup, algosSelected, conceptCache, isCoreUser } ) => {
297297 const { t } = useTranslation ( ) ;
298298 const [ sortBy , setSortBy ] = React . useState ( 'search_meta.search_normalized_score' )
299299 const [ groupBy , setGroupBy ] = React . useState ( 'quality' )
@@ -331,7 +331,8 @@ const Candidates = ({rowIndex, alert, setAlert, candidates, setShowItem, showIte
331331 locales : locales ,
332332 candidatesScore : candidatesScore ,
333333 algoScoreFirst : algoScoreFirst ,
334- conceptCache : conceptCache
334+ conceptCache : conceptCache ,
335+ isCoreUser : isCoreUser
335336 }
336337
337338 const onSort = option => {
0 commit comments