diff --git a/Build/Sources/TypeScript/backend/new-record-wizard.ts b/Build/Sources/TypeScript/backend/new-record-wizard.ts index b48292d2ff1c4f4c6aa846e29b6cc528e826a84d..2d4973e334e133236c8b3ee3598829b62cd971b1 100644 --- a/Build/Sources/TypeScript/backend/new-record-wizard.ts +++ b/Build/Sources/TypeScript/backend/new-record-wizard.ts @@ -507,7 +507,7 @@ export class NewRecordWizard extends LitElement { @click="${(event: PointerEvent): void => { event.preventDefault(); this.handleItemClick(item); }}" > <div class="item-icon"> - <typo3-backend-icon identifier="${item.icon}" size="medium"></typo3-backend-icon> + <typo3-backend-icon identifier="${item.icon || 'empty-empty'}" size="medium"></typo3-backend-icon> </div> <div class="item-body"> <div class="item-body-label">${item.label}</div> diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/new-record-wizard.js b/typo3/sysext/backend/Resources/Public/JavaScript/new-record-wizard.js index 1df9ed2e0c0cfc22d673b0f0f1c0cf33518b45e7..064ad20cf4da9b81738e82cdbf55b1184db3eaae 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/new-record-wizard.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/new-record-wizard.js @@ -75,7 +75,7 @@ var __decorate=function(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Obj @click="${t=>{t.preventDefault(),this.handleItemClick(e)}}" > <div class="item-icon"> - <typo3-backend-icon identifier="${e.icon}" size="medium"></typo3-backend-icon> + <typo3-backend-icon identifier="${e.icon||"empty-empty"}" size="medium"></typo3-backend-icon> </div> <div class="item-body"> <div class="item-body-label">${e.label}</div>