Updated Organizaiton Tasks to include the task status
parent
8a58fb4041
commit
3d9df39fd1
|
@ -8,7 +8,7 @@ import TaskList from 'src/organizations/components/TaskList'
|
||||||
import FilterList from 'src/organizations/components/Filter'
|
import FilterList from 'src/organizations/components/Filter'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import {Task} from 'src/types/v2'
|
import {Task, TaskStatus} from 'src/types/v2/tasks'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
tasks: Task[]
|
tasks: Task[]
|
||||||
|
@ -58,6 +58,7 @@ export default class Tasks extends PureComponent<Props, State> {
|
||||||
{
|
{
|
||||||
id: '1',
|
id: '1',
|
||||||
name: 'swoggles task',
|
name: 'swoggles task',
|
||||||
|
status: TaskStatus.Active,
|
||||||
organizationId: '1',
|
organizationId: '1',
|
||||||
organization: {
|
organization: {
|
||||||
id: '1',
|
id: '1',
|
||||||
|
@ -71,6 +72,7 @@ export default class Tasks extends PureComponent<Props, State> {
|
||||||
{
|
{
|
||||||
id: '2',
|
id: '2',
|
||||||
name: 'plerps task',
|
name: 'plerps task',
|
||||||
|
status: TaskStatus.Active,
|
||||||
organizationId: '1',
|
organizationId: '1',
|
||||||
organization: {
|
organization: {
|
||||||
id: '1',
|
id: '1',
|
||||||
|
|
Loading…
Reference in New Issue