Update KanbanBoard.tsx

Fixed linting issues
This commit is contained in:
Hugo Bernier 2020-04-21 19:45:41 -04:00 committed by GitHub
parent 91318c4e09
commit 426b91707d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 17 deletions

View File

@ -187,7 +187,7 @@ export default class KanbanBoard extends React.Component<IKanbanBoardProps, ICus
this._getData(this.props.listTitle);
}
_getData = (listTitle) => {
private _getData = (listTitle) => {
if(listTitle && listTitle.length > 0)
{
sp.web.lists.getByTitle(listTitle).fields.getByInternalNameOrTitle("Status").get()
@ -234,7 +234,7 @@ export default class KanbanBoard extends React.Component<IKanbanBoardProps, ICus
}
}
_updateTask = (event: any): void => {
private _updateTask = (event: any): void => {
let args = event.args;
// let itemId = args.itemId;
// let oldParentId = args.oldParentId;
@ -249,7 +249,7 @@ export default class KanbanBoard extends React.Component<IKanbanBoardProps, ICus
});
}
_showTask = (event:any): void => {
private _showTask = (event:any): void => {
if(event.args.attribute === "template")
{
this.setState({
@ -261,7 +261,7 @@ export default class KanbanBoard extends React.Component<IKanbanBoardProps, ICus
}
}
_closeDialog = (): void => {
private _closeDialog = (): void => {
this.setState({ hideDialog: true });
}
}