diff --git a/frontend/src/components/Modals/TaskModal.vue b/frontend/src/components/Modals/TaskModal.vue
index ee632681..46f5df4d 100644
--- a/frontend/src/components/Modals/TaskModal.vue
+++ b/frontend/src/components/Modals/TaskModal.vue
@@ -2,7 +2,6 @@
-
@@ -107,4 +107,18 @@ function showTask(name) {
}
showTaskModal.value = true
}
+
+function createTask() {
+ task.value = {
+ title: '',
+ description: '',
+ assigned_to: '',
+ due_date: '',
+ status: 'Backlog',
+ priority: 'Low',
+ reference_doctype: 'CRM Lead',
+ reference_docname: '',
+ }
+ showTaskModal.value = true
+}