mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 15:27:43 +01:00
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
|
// 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"/>));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user