We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cf0ba6 commit daef2d0Copy full SHA for daef2d0
1 file changed
src/controls/webPartTitle/WebPartTitle.tsx
@@ -45,7 +45,7 @@ export class WebPartTitle extends React.Component<IWebPartTitleProps, {}> {
45
public render(): React.ReactElement<IWebPartTitleProps> {
46
if (this.props.title || this.props.moreLink || this.props.displayMode === DisplayMode.Edit) {
47
return (
48
- <div className={`${styles.webPartHeader} ${this.props.className}`}>
+ <div className={`${styles.webPartHeader} ${this.props.className ? this.props.className : ""}`}>
49
<div className={styles.webPartTitle}>
50
{
51
this.props.displayMode === DisplayMode.Edit && (
0 commit comments