|
|
@ -10,6 +10,10 @@ import Checkbox from '@material-ui/core/Checkbox';
|
|
|
|
import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';
|
|
|
|
import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';
|
|
|
|
import * as colors from '@material-ui/core/colors';
|
|
|
|
import * as colors from '@material-ui/core/colors';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import moment from 'moment';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { mapPriority } from '../../helpers';
|
|
|
|
|
|
|
|
|
|
|
|
const checkboxColor = {
|
|
|
|
const checkboxColor = {
|
|
|
|
[TaskPriorityType.Undefined]: colors.grey[600],
|
|
|
|
[TaskPriorityType.Undefined]: colors.grey[600],
|
|
|
|
[TaskPriorityType.Low]: colors.blue[600],
|
|
|
|
[TaskPriorityType.Low]: colors.blue[600],
|
|
|
@ -17,10 +21,6 @@ const checkboxColor = {
|
|
|
|
[TaskPriorityType.High]: colors.red[600],
|
|
|
|
[TaskPriorityType.High]: colors.red[600],
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
import moment from 'moment';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { mapPriority } from '../../helpers';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface PropsType {
|
|
|
|
interface PropsType {
|
|
|
|
entry: TaskType;
|
|
|
|
entry: TaskType;
|
|
|
|
onClick: (task: TaskType) => void;
|
|
|
|
onClick: (task: TaskType) => void;
|
|
|
|