Skip to content

Commit 51bfa27

Browse files
committed
first Commit
1 parent 40a61d8 commit 51bfa27

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/controls/listItemAttachments/ListItemAttachments.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ import { IListItemAttachmentsState } from '.';
2222
import SPservice from "../../services/SPService";
2323
import { TooltipHost, DirectionalHint } from 'office-ui-fabric-react/lib/Tooltip';
2424
import utilities from './utilities';
25-
26-
2725
export class ListItemAttachments extends React.Component<IListItemAttachmentsProps, IListItemAttachmentsState> {
2826
private _spservice: SPservice;
2927
private previewImages: IDocumentCardPreviewImage[];
@@ -148,10 +146,10 @@ export class ListItemAttachments extends React.Component<IListItemAttachmentsPro
148146
isBlocking={true}>
149147
<DialogFooter>
150148
{
151-
this.state.deleteAttachment ? (<PrimaryButton onClick={this._onConfirmedDeleteAttachment}>{strings.dialogOKbuttonLabelOnDelete}</PrimaryButton>) : ""
149+
this.state.deleteAttachment ? (<PrimaryButton onClick={this._onConfirmedDeleteAttachment}>{strings.ListItemAttachmentsdialogOKbuttonLabelOnDelete}</PrimaryButton>) : ""
152150
}
153151
{
154-
this.state.deleteAttachment ? (<DefaultButton onClick={this._closeDialog}>{strings.dialogCancelButtonLabel}</DefaultButton>) : <PrimaryButton onClick={this._closeDialog}>{strings.dialogOKbuttonLabel}</PrimaryButton>
152+
this.state.deleteAttachment ? (<DefaultButton onClick={this._closeDialog}>{strings.ListItemAttachmentsdialogCancelButtonLabel}</DefaultButton>) : <PrimaryButton onClick={this._closeDialog}>{strings.ListItemAttachmentsdialogOKbuttonLabel}</PrimaryButton>
155153
}
156154
</DialogFooter>
157155
</Dialog>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export * from '../IUploadAttachmentProps';
2+
export * from '../IUploadAttachmentState';
3+
export * from '../IListItemAttachmentFile';
4+
export * from '../UploadAttachment';

0 commit comments

Comments
 (0)