From 9b51ca5021e7b99e7cd8d4e2749ddf6f164d8850 Mon Sep 17 00:00:00 2001 From: KwonYeKyeong Date: Tue, 28 Jul 2020 09:56:45 +0900 Subject: [PATCH 1/6] =?UTF-8?q?=EB=93=B1=EB=A1=9D=20=EB=82=A0=EC=A7=9C=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 5 +++++ .idea/misc.xml | 6 ++++++ .idea/modules.xml | 8 ++++++++ .idea/todo-frontend.iml | 12 ++++++++++++ .idea/vcs.xml | 6 ++++++ package-lock.json | 3 +++ static/src/component/board/card/index.jsx | 2 +- static/src/component/board/task/index.jsx | 5 +++-- 8 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/todo-frontend.iml create mode 100644 .idea/vcs.xml create mode 100644 package-lock.json diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..7f9b010 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/todo-frontend.iml b/.idea/todo-frontend.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/todo-frontend.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +} diff --git a/static/src/component/board/card/index.jsx b/static/src/component/board/card/index.jsx index 17931f6..f532dbf 100644 --- a/static/src/component/board/card/index.jsx +++ b/static/src/component/board/card/index.jsx @@ -9,7 +9,7 @@ function Card(props) {
{subject}
{ tasks.map(task => { - return + return }) } diff --git a/static/src/component/board/task/index.jsx b/static/src/component/board/task/index.jsx index bc3abbf..135f7c5 100644 --- a/static/src/component/board/task/index.jsx +++ b/static/src/component/board/task/index.jsx @@ -5,7 +5,7 @@ import {isDone, isTodo, toToggledValue} from "../../../utility/status"; import Button from "../../atom/Button"; function Task(props) { - const {title, subject, id, move} = props; + const {title, subject, id, created, move} = props; const onClick = (event) => { event.stopPropagation(); const toggledValue = toToggledValue(subject); @@ -17,7 +17,8 @@ function Task(props) { { isTodo(subject) &&