Updated Organizaiton Tasks to include the task status

pull/10616/head
Palak Bhojani 2018-11-13 13:40:35 -08:00
parent 8a58fb4041
commit 3d9df39fd1
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import TaskList from 'src/organizations/components/TaskList'
import FilterList from 'src/organizations/components/Filter'
// Types
import {Task} from 'src/types/v2'
import {Task, TaskStatus} from 'src/types/v2/tasks'
interface Props {
tasks: Task[]
@ -58,6 +58,7 @@ export default class Tasks extends PureComponent<Props, State> {
{
id: '1',
name: 'swoggles task',
status: TaskStatus.Active,
organizationId: '1',
organization: {
id: '1',
@ -71,6 +72,7 @@ export default class Tasks extends PureComponent<Props, State> {
{
id: '2',
name: 'plerps task',
status: TaskStatus.Active,
organizationId: '1',
organization: {
id: '1',