Skip to content

Commit

Permalink
bugfix: fix dropdowns not working
Browse files Browse the repository at this point in the history
  • Loading branch information
densumesh authored and skeptrunedev committed Jan 9, 2025
1 parent b6e7409 commit 45318b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontends/dashboard/src/pages/dataset/HeroPatterns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ export const HeroPatterns: Record<
);
return `data:image/svg+xml;base64,${encoded}`;
},
Blank: (foregroundColor: string, foregroundOpacity: number) => {
return `data:image/svg+xml;base64,${btoa(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1" width="1" height="1" fill="${foregroundColor}" fill-opacity="${foregroundOpacity}" ></svg>`,
)}`;
},
};

0 comments on commit 45318b2

Please sign in to comment.