diff --git a/samples/react-kanban-board/src/kanban/IKanbanTask.ts b/samples/react-kanban-board/src/kanban/IKanbanTask.ts index 02772e686..3cebd6ee6 100644 --- a/samples/react-kanban-board/src/kanban/IKanbanTask.ts +++ b/samples/react-kanban-board/src/kanban/IKanbanTask.ts @@ -4,7 +4,7 @@ export interface IKanbanTask { taskId: string; title: string; isCompleted?: boolean; - assignedTo?: IPersonaProps[]; + assignedTo?: IPersonaProps; htmlDescription?:string; priority?:string; bucket: string; diff --git a/samples/react-kanban-board/src/kanban/KanbanComponent.tsx b/samples/react-kanban-board/src/kanban/KanbanComponent.tsx index 7380d962e..2c0a34917 100644 --- a/samples/react-kanban-board/src/kanban/KanbanComponent.tsx +++ b/samples/react-kanban-board/src/kanban/KanbanComponent.tsx @@ -224,7 +224,7 @@ export default class KanbanComponent extends React.Component )} diff --git a/samples/react-kanban-board/src/kanban/KanbanTask.tsx b/samples/react-kanban-board/src/kanban/KanbanTask.tsx index 45a91cad3..6f6ce04db 100644 --- a/samples/react-kanban-board/src/kanban/KanbanTask.tsx +++ b/samples/react-kanban-board/src/kanban/KanbanTask.tsx @@ -59,17 +59,12 @@ export default class KanbanTask extends React.Component{this.props.priority})} {showAssignedTo && this.props.assignedTo && (
- { - this.props.assignedTo.map((p, i) => ( -
- -
)) - } +
)} diff --git a/samples/react-kanban-board/src/kanban/Readme.md b/samples/react-kanban-board/src/kanban/Readme.md index 4b05e4aac..86cdb53f9 100644 --- a/samples/react-kanban-board/src/kanban/Readme.md +++ b/samples/react-kanban-board/src/kanban/Readme.md @@ -6,6 +6,7 @@ Thinking about Kanban component with Fluent Ui Components allowMove from one Bucket to the Other tested move task to other Bucket works internalDislplayRenderer: Person / Persons +BucketEdit Component (can be used in CustomPropertyPane) playing with drag visibility @@ -60,9 +61,8 @@ Unexpected call to method or property access. # Next Steps Component: * think about Promise Task Actions, because actions are async - * EditSchema To support Edit and New PNP Controls :) -* BucketEdit Component (can be used in CustomPropertyPane) + # Webpart Steps