made public gallery the first tab (#483)

This commit is contained in:
Srinath Narayanan
2021-03-05 09:03:48 -08:00
committed by GitHub
parent c1141406ff
commit 69975cd0e8
5 changed files with 104 additions and 105 deletions

View File

@@ -474,10 +474,10 @@ export function getNotebookViewerProps(search: string): NotebookViewerProps {
export function getTabTitle(tab: GalleryTab): string {
switch (tab) {
case GalleryTab.OfficialSamples:
return GalleryViewerComponent.OfficialSamplesTitle;
case GalleryTab.PublicGallery:
return GalleryViewerComponent.PublicGalleryTitle;
case GalleryTab.OfficialSamples:
return GalleryViewerComponent.OfficialSamplesTitle;
case GalleryTab.Favorites:
return GalleryViewerComponent.FavoritesTitle;
case GalleryTab.Published: