fix: 🐛 Icona `null` al posto di nessuna icona
This commit is contained in:
parent
4f84ef28c3
commit
b7bd94c6a0
|
@ -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"/>));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue