parent
91318c4e09
commit
426b91707d
|
@ -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 });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue