add loaded page number
This commit is contained in:
		
							parent
							
								
									d5b2aeb673
								
							
						
					
					
						commit
						b0ff34f097
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -55,6 +55,10 @@ export const GalleryInfo = (props: GalleryProp) => {
 | 
			
		|||
                            gallery={`/search?${queryString}`} short />);
 | 
			
		||||
                    })
 | 
			
		||||
                }
 | 
			
		||||
                <Typography variant="body1" sx={{
 | 
			
		||||
                    justifyContent: "center",
 | 
			
		||||
                    textAlign:"center"
 | 
			
		||||
                }}>{state.documents.length} loaded...</Typography>
 | 
			
		||||
                <Button onClick={()=>loadMore()} disabled={loadAll}>{loadAll ? "Load All" : "Load More"}</Button>
 | 
			
		||||
            </Box>
 | 
			
		||||
        );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue