Skip to content

Commit 082565b

Browse files
authored
Merge pull request #124 from formio/FIO-9761-fixed-icons
FIO-9761: fixed an issue where fontawesome icons do not appear
2 parents a7a0248 + 8e37491 commit 082565b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/bootstrap5/iconClass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,5 @@ export default (iconset, name, spinning) => {
164164
biName = 'arrow-clockwise';
165165
break;
166166
}
167-
return spinning ? 'spinner-border spinner-border-sm' : `fa fa-${name} bi bi-${biName}`;
167+
return spinning ? 'spinner-border spinner-border-sm' : `${iconset} ${iconset}-${name}`;
168168
};

0 commit comments

Comments
 (0)