Skip to content

Commit

Permalink
fixed fill icon bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hridniev committed May 3, 2024
1 parent 67616e5 commit cf38ba4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui.image-icon/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ const dynamicComponent = computed(() => {
function getIcon(params) {
const [, component] = generatedIcons.find(([path]) =>
params.every((param) => path.includes(param)),
params.every((param) => {
const skipFilled = fill ? true : !path.includes("-fill");
return skipFilled && path.includes(param);
}),
);
return component;
Expand Down

0 comments on commit cf38ba4

Please sign in to comment.