diff --git a/common/changes/office-ui-fabric-react/fix-trucation-bug_2018-04-03-10-41.json b/common/changes/office-ui-fabric-react/fix-trucation-bug_2018-04-03-10-41.json new file mode 100644 index 00000000000000..8d1291581580c1 --- /dev/null +++ b/common/changes/office-ui-fabric-react/fix-trucation-bug_2018-04-03-10-41.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "office-ui-fabric-react", + "comment": "Fixes bug with undefined reference", + "type": "patch" + } + ], + "packageName": "office-ui-fabric-react", + "email": "mark@thedutchies.com" +} \ No newline at end of file diff --git a/packages/office-ui-fabric-react/src/components/DocumentCard/DocumentCardTitle.tsx b/packages/office-ui-fabric-react/src/components/DocumentCard/DocumentCardTitle.tsx index 05891cd4f58a5e..1db79e315b5b3a 100644 --- a/packages/office-ui-fabric-react/src/components/DocumentCard/DocumentCardTitle.tsx +++ b/packages/office-ui-fabric-react/src/components/DocumentCard/DocumentCardTitle.tsx @@ -78,13 +78,13 @@ export class DocumentCardTitle extends BaseComponent +
{ truncatedTitleFirstPiece }…{ truncatedTitleSecondPiece }
); } else { documentCardTitle = ( -
+
{ title }
);