mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
fix: 🐛 Icona null
al posto di nessuna icona
This commit is contained in:
@@ -489,7 +489,7 @@ export class RecordsPage extends Page {
|
|||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||||
const {icon} = field;
|
const {icon} = field;
|
||||||
if (typeof icon === 'string') {
|
if (icon) {
|
||||||
list.push(render(<Mdi icon={icon} slot="icon"/>));
|
list.push(render(<Mdi icon={icon} slot="icon"/>));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user