diff --git a/app/[locale]/(protected)/contributor/task-ta/components/columns.tsx b/app/[locale]/(protected)/contributor/task-ta/components/columns.tsx
index c05d82f0..0a49cdda 100644
--- a/app/[locale]/(protected)/contributor/task-ta/components/columns.tsx
+++ b/app/[locale]/(protected)/contributor/task-ta/components/columns.tsx
@@ -1,8 +1,8 @@
import * as React from "react";
import { ColumnDef } from "@tanstack/react-table";
-import { Eye, MoreVertical, SquarePen, Trash2 } from "lucide-react";
-import { cn } from "@/lib/utils";
+import { Eye, MoreVertical, SquarePen, Trash2, Upload } from "lucide-react";
+import { cn, getCookiesDecrypt } from "@/lib/utils";
import {
DropdownMenu,
DropdownMenuContent,
@@ -105,6 +105,7 @@ const useTableColumns = () => {
cell: ({ row }) => {
const router = useRouter();
const MySwal = withReactContent(Swal);
+ const roleId = Number(getCookiesDecrypt("urie")) || 0;
async function deleteProcess(id: any) {
loading();
@@ -170,6 +171,14 @@ const useTableColumns = () => {
Edit
+ {roleId == 12 && (
+
+
| diff --git a/app/[locale]/(public)/image/filter/page.tsx b/app/[locale]/(public)/image/filter/page.tsx index 51f6e492..4e5750a0 100644 --- a/app/[locale]/(public)/image/filter/page.tsx +++ b/app/[locale]/(public)/image/filter/page.tsx @@ -698,11 +698,12 @@ const FilterPage = () => { }} /> -