Projekt

Obecné

Profil

« Předchozí | Další » 

Revize cbf81c55

Přidáno uživatelem Schwobik před téměř 2 roky(ů)

General fixes, splashscreen, homepage, searchpage
re #10715

Zobrazit rozdíly:

src/components/listView/ListView.tsx
14 14
const ListView = (props: ListViewProps) => {
15 15

  
16 16
    const inventories = useSelector((state: RootState) => state.listView.inventories)
17
    const numberOfResults = useSelector((state: RootState) => state.listView.numOfResults)
17 18

  
18 19

  
19 20
    return (
20 21
        <>
21
            <Text fontSize={ 16 } fontWeight={ "bold" } color={"primary.500"}>Search results:</Text>
22
            <Text fontSize={ 16 } fontWeight={ "bold" } color={"primary.500"}>Search results{numberOfResults ? ` (${numberOfResults})` : ""}:</Text>
22 23
            { inventories && inventories.length > 0 ?
23 24
                (inventories.length > 1 ?
24 25
                    inventories.map((inventory) => (

Také k dispozici: Unified diff