Aktualisiere die Version auf 1.0.2 in package.json und package-solution.json; verbessere die Handhabung von leeren Titeln im Webpart

This commit is contained in:
Torsten Brendgen
2026-08-27 00:36:54 +02:00
parent c798007219
commit 104ca4baf6
4 changed files with 5 additions and 3 deletions
@@ -53,7 +53,7 @@ export default class RecurringEventsWebPart extends BaseClientSideWebPart<IRecur
const listUrl: string = list.serverRelativeUrl.replace(/\/$/, '');
const element: React.ReactElement<IRecurringEventsProps> = React.createElement(RecurringEvents, {
events: events,
title: this.properties.title || strings.DefaultTitle,
title: String(this.properties.title || '').trim(),
layout: this.properties.layout === 'compact' ? 'compact' : 'filmstrip',
locale: this.context.pageContext.cultureInfo.currentUICultureName || 'en-us',
allDayLabel: strings.AllDayLabel,