diff --git a/public/icons/copy.svg b/public/icons/copy.svg new file mode 100644 index 0000000..5b38991 --- /dev/null +++ b/public/icons/copy.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 3f1c90e..b4ee536 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -31,6 +31,12 @@ export const router = createRouter({ props: true, component: () => import('../views/task/EditTask.vue') }, + { + path: '/task/:id/duplicate', + name: 'duplicate-task', + props: true, + component: () => import('../views/task/DuplicateTask.vue') + }, { path: '/task/:taskId/record', name: 'record-view', diff --git a/src/views/task/DuplicateTask.vue b/src/views/task/DuplicateTask.vue new file mode 100644 index 0000000..bdcd029 --- /dev/null +++ b/src/views/task/DuplicateTask.vue @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/src/views/task/EditTask.vue b/src/views/task/EditTask.vue index 961c3c9..3fe0195 100644 --- a/src/views/task/EditTask.vue +++ b/src/views/task/EditTask.vue @@ -14,18 +14,24 @@ const task = taskStore.getTask(props.id) + + + + + Info + + + + When editing a task, record will be reset. + + + + - - - Info - - - When editing a task, record will be reset. - diff --git a/src/views/task/TaskView.vue b/src/views/task/TaskView.vue index 5a2c137..7d4dbf9 100644 --- a/src/views/task/TaskView.vue +++ b/src/views/task/TaskView.vue @@ -39,6 +39,17 @@ const deleteTask = () => { > + + +
Info