Change default Sort order for Gallery to MostRecent & fix gallery card height for empty tags (#545)

This commit is contained in:
Tanuj Mittal
2021-03-17 07:10:38 +05:30
committed by GitHub
parent 6582d3be37
commit 3eda8029ba
4 changed files with 12 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ const onInit = async () => {
const props: GalleryAndNotebookViewerComponentProps = {
junoClient: new JunoClient(),
selectedTab: galleryViewerProps.selectedTab || GalleryTab.PublicGallery,
sortBy: galleryViewerProps.sortBy || SortBy.MostViewed,
sortBy: galleryViewerProps.sortBy || SortBy.MostRecent,
searchText: galleryViewerProps.searchText,
};