fix: 🐛 Icona `null` al posto di nessuna icona

This commit is contained in:
Maicol Battistini 2022-01-26 20:23:16 +01:00
parent 4f84ef28c3
commit b7bd94c6a0
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ export class RecordsPage extends Page {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const {icon} = field;
if (typeof icon === 'string') {
if (icon) {
list.push(render(<Mdi icon={icon} slot="icon"/>));
}