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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user