feat: Update version to 1.3.1 and ensure title trimming in DynamicPollWebPart
This commit is contained in:
@@ -172,7 +172,7 @@ export default class DynamicPollWebPart extends BaseClientSideWebPart<IDynamicPo
|
||||
pollNavigationLabel: strings.PollNavigationLabel
|
||||
};
|
||||
const element: React.ReactElement<IDynamicPollCollectionProps> = React.createElement(DynamicPollCollection, {
|
||||
title: this.properties.title || strings.DefaultTitle,
|
||||
title: String(this.properties.title || '').trim(),
|
||||
snapshots: snapshots,
|
||||
displayMode: this.properties.displayMode === 'accordion' ? 'accordion' : 'slider',
|
||||
showResultsBeforeVote: this.properties.showResultsBeforeVote === true,
|
||||
|
||||
Reference in New Issue
Block a user