Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(viz picker): Remove some tags, refactor Recommended section #27708

Merged
merged 4 commits into from
Apr 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
kgabryje committed Apr 3, 2024
commit c5fef8fb8d5201fb6ed12c2736245657e6d818a7
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,11 @@ export default function VizTypeGallery(props: VizTypeGalleryProps) {
if (activeSelector === ALL_CHARTS && activeSection === Sections.AllCharts) {
return sortedMetadata;
}
if (activeSelector === FEATURED && activeSection === Sections.Featured) {
if (
activeSelector === FEATURED &&
activeSection === Sections.Featured &&
chartsByTags[t('Popular')]
) {
return chartsByTags[t('Popular')];
}
if (
Expand Down