mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Storybook: Fix missing favorite
and grafana
icons (#90376)
ignore "fa fa-spinner" properly
This commit is contained in:
parent
b7767c79e7
commit
c13f804ef9
@ -15,7 +15,7 @@ const stories = ['../src/Intro.mdx', storyGlob];
|
|||||||
// We limit icon paths to only the available icons so publishing
|
// We limit icon paths to only the available icons so publishing
|
||||||
// doesn't require uploading 1000s of unused assets.
|
// doesn't require uploading 1000s of unused assets.
|
||||||
const iconPaths = Object.keys(availableIconsIndex)
|
const iconPaths = Object.keys(availableIconsIndex)
|
||||||
.filter((iconName) => !iconName.includes('fa'))
|
.filter((iconName) => !iconName.startsWith('fa '))
|
||||||
.map((iconName) => {
|
.map((iconName) => {
|
||||||
const subDir = getIconSubDir(iconName as IconName, 'default');
|
const subDir = getIconSubDir(iconName as IconName, 'default');
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user