diff --git a/svelte-ui/src/components/TaskEntry.svelte b/svelte-ui/src/components/TaskEntry.svelte index 5f948e6..650b97d 100644 --- a/svelte-ui/src/components/TaskEntry.svelte +++ b/svelte-ui/src/components/TaskEntry.svelte @@ -24,6 +24,7 @@ let mdTaskEdit: ModalData; let mdTaskDelete: ModalData; let mdTaskUnlink: ModalData; + let mdTaskLink: ModalData; let isMoving = false; let isLinked = false; @@ -68,6 +69,7 @@ $: mdLogAdd = {name: "log.add", task: {...task, project}}; $: mdTaskEdit = {name: "task.edit", task: {...task, project}}; $: mdTaskDelete = {name: "task.delete", task: {...task, project}}; + $: mdTaskLink = {name: "tasklink.add", task}; $: mdTaskUnlink = {name: "tasklink.delete", task, project}; $: isLinked = task.projectId !== project.id; @@ -88,6 +90,7 @@ {#if isLinked} {:else} + ยท {#if !isMoving && (!task.active) }