Skip to content

Commit

Permalink
test: update deps & build
Browse files Browse the repository at this point in the history
  • Loading branch information
idabblewith committed Oct 21, 2024
1 parent 2d15036 commit e2e26a2
Show file tree
Hide file tree
Showing 8 changed files with 392 additions and 6,758 deletions.
1 change: 0 additions & 1 deletion dist/assets/index-Bc-0vlmj.css

This file was deleted.

740 changes: 381 additions & 359 deletions dist/assets/index-BTQOjwZ0.js → dist/assets/index-D-_G56yz.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/assets/index-DiyCfMR6.css

Large diffs are not rendered by default.

6,362 changes: 0 additions & 6,362 deletions dist/assets/index-DqxVmfVl.js

This file was deleted.

27 changes: 0 additions & 27 deletions dist/assets/server.browser-Bcg_6Hxl.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/jpg" href="/dbca.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DBCA</title>
<script type="module" crossorigin src="/assets/index-BTQOjwZ0.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Bc-0vlmj.css">
<script type="module" crossorigin src="/assets/index-D-_G56yz.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DiyCfMR6.css">
</head>

<body>
Expand Down
13 changes: 7 additions & 6 deletions src/components/Pages/Dashboard/AdminTasksDataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export const AdminTasksDataTable = ({ pendingAdminTaskData }: Props) => {
// variant="ghost"
bg={"transparent"}
onClick={() => column.toggleSorting(column.getIsSorted() === "asc")}
className="w-full text-left"
className="w-full text-start"
rightIcon={sortIcon}
// p={0}
// m={0}
Expand All @@ -230,16 +230,17 @@ export const AdminTasksDataTable = ({ pendingAdminTaskData }: Props) => {
cell: ({ row }) => {
const originalRequesterData = row.original.requester;
return (
<Box className="text-center font-medium">
<Text color={"blue.400"} fontWeight={"semibold"} px={4}>
{originalRequesterData}
<Box className="justify-start px-4 text-start font-medium">
<Text color={"blue.400"} fontWeight={"semibold"}>
{originalRequesterData.display_first_name}{" "}
{originalRequesterData.display_last_name}
</Text>
</Box>
);
},
sortingFn: (rowA, rowB) => {
const a = rowA.original.requester;
const b = rowB.original.requester;
const a = `${rowA.original.requester.display_first_name} ${rowA.original.requester.display_last_name}`;
const b = `${rowB.original.requester.display_first_name} ${rowB.original.requester.display_last_name}`;
return a.localeCompare(b);
},
},
Expand Down

0 comments on commit e2e26a2

Please sign in to comment.