Skip to content

Commit

Permalink
fix: icons stop working (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Sep 16, 2023
1 parent df7fc0a commit bee50c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ export function prepareIcons(
}

sets.filter(s => cssFonts.includes(s.name)).forEach(({ name, cdn }) => {
resolvedIcons.aliasesImportPresent ||= (name === defaultSet)
if (name === 'unocss-mdi')
return

resolvedIcons.aliasesImportPresent ||= (name === defaultSet)
resolvedIcons.imports.push(`import {${name === defaultSet ? 'aliases,' : ''}${name}} from \'vuetify/iconsets/${name}\'`)
resolvedIcons.sets.push(name)
if (isPackageExists(iconsPackageNames[name].name))
Expand Down

0 comments on commit bee50c8

Please sign in to comment.