diff --git a/app/[locale]/(routes)/projects/boards/[boardId]/components/Kanban.tsx b/app/[locale]/(routes)/projects/boards/[boardId]/components/Kanban.tsx
index 909c369..cb4ff46 100644
--- a/app/[locale]/(routes)/projects/boards/[boardId]/components/Kanban.tsx
+++ b/app/[locale]/(routes)/projects/boards/[boardId]/components/Kanban.tsx
@@ -32,6 +32,7 @@ import moment from "moment";
import Link from "next/link";
import {
ChatBubbleIcon,
+ DotsHorizontalIcon,
ExclamationTriangleIcon,
TrashIcon,
} from "@radix-ui/react-icons";
@@ -42,6 +43,12 @@ import axios from "axios";
import { useToast } from "@/components/ui/use-toast";
import AlertModal from "@/components/modals/alert-modal";
import { useRouter } from "next/navigation";
+import {
+ DropdownMenu,
+ DropdownMenuContent,
+ DropdownMenuItem,
+ DropdownMenuTrigger,
+} from "@/components/ui/dropdown-menu";
// import ChatModal from "../../components/modals/ChatModal";
// import ConfirmDeleteTask from "../../components/modals/ConfirmDeleteTask";
// import TaskDocuments from "./components/TaskDocuments";
@@ -377,6 +384,34 @@ const Kanban = (props: any) => {
task.dueDateAt > Date.now() && (
)}
+
+
+
+
+
+
+ router.push(
+ `/projects/tasks/viewtask/${task.id}`
+ )
+ }
+ >
+
+ View
+
+ {
+ setSelectedTask(task);
+ setOpen(true);
+ }}
+ >
+
+ Delete
+
+
+
Due date:{" "}
@@ -403,12 +438,6 @@ const Kanban = (props: any) => {
-
-
-
-
{/*
{
@@ -432,13 +461,6 @@ const Kanban = (props: any) => {
setOpenDocuments(true);
}}
/> */}
- {
- setSelectedTask(task);
- setOpen(true);
- }}
- />
)}
diff --git a/app/[locale]/(routes)/secondBrain/components/NewTask.tsx b/app/[locale]/(routes)/secondBrain/components/NewTask.tsx
index dab84f0..174d344 100644
--- a/app/[locale]/(routes)/secondBrain/components/NewTask.tsx
+++ b/app/[locale]/(routes)/secondBrain/components/NewTask.tsx
@@ -1,4 +1,5 @@
"use client";
+
import { useAppStore } from "@/store/store";
import NewTaskDialog from "../dialogs/NewTask";
diff --git a/app/[locale]/(routes)/secondBrain/table-components/columns.tsx b/app/[locale]/(routes)/secondBrain/table-components/columns.tsx
index 47f8635..b86d497 100644
--- a/app/[locale]/(routes)/secondBrain/table-components/columns.tsx
+++ b/app/[locale]/(routes)/secondBrain/table-components/columns.tsx
@@ -34,9 +34,7 @@ export const columns: ColumnDef
[] = [
),
- cell: ({ row }) => (
- {row.getValue("urlShort")}
- ),
+ cell: ({ row }) => {row.getValue("urlShort")}
,
enableSorting: true,
enableHiding: true,
},