File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
marklogic-data-hub-central/ui/src/pages Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ const Browse: React.FC<Props> = ({location}) => {
142142 let entityTypesExistOrNoEntityTypeIsSelected = ( entities . length > 0 || ( searchOptions . nextEntityType === "All Data" || searchOptions . nextEntityType === "All Entities" || searchOptions . nextEntityType === undefined ) ) ;
143143 let defaultOptionsForPageRefresh = ! searchOptions . nextEntityType && ( entities . length > 0 || cardView ) ;
144144 let selectingAllEntitiesOption = ( searchOptions . nextEntityType === "All Entities" && ! isColumnSelectorTouched && ! searchOptions . entityTypeIds . length && ! cardView && entities . length > 0 ) ;
145- let selectingAllDataOption = ( searchOptions . nextEntityType === "All Data" && ! isColumnSelectorTouched && ! searchOptions . entityTypeIds . length && cardView && entities . length > 0 ) ;
145+ let selectingAllDataOption = ( searchOptions . nextEntityType === "All Data" && ! isColumnSelectorTouched && ! searchOptions . entityTypeIds . length && cardView ) ;
146146 let selectingEntityType = ( searchOptions . nextEntityType && ! [ "All Entities" , "All Data" ] . includes ( searchOptions . nextEntityType ) && searchOptions . entityTypeIds [ 0 ] === searchOptions . nextEntityType ) ;
147147 let notSelectingCardViewWhenNoEntities = ! cardView && ( ! entities . length && ! searchOptions . entityTypeIds . length || ! searchOptions . nextEntityType ) ;
148148
You can’t perform that action at this time.
0 commit comments