Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhimanyu-dev committed Sep 14, 2024
2 parents a6c6bc3 + 8bc74f9 commit 8e76f1b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 13 deletions.
27 changes: 14 additions & 13 deletions components/Utils/matrixUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const programExpanded = [
"DualC",
"MT",
"MSR",
"MSc",
"MS",
"MDes",
"MBA",
"PhD",
Expand Down Expand Up @@ -156,7 +156,7 @@ export const func = {
MT: 18,
DoubleMajor: 32,
DualA: 42,
DualB: -1,
DualB: 53,
DualC: -1,
MDes: -1,
MBA: -1,
Expand All @@ -171,7 +171,7 @@ export const func = {
DoubleMajor: 33,
DualA: 43,
DualB: 54,
DualC: -1,
DualC: 39,
MDes: -1,
MBA: -1,
PhD: 68,
Expand Down Expand Up @@ -258,7 +258,7 @@ export const func = {
DualC: -1,
MDes: -1,
MBA: -1,
PhD: -1,
PhD: 72,
MSc: -1,
MSR: -1,
},
Expand Down Expand Up @@ -293,7 +293,7 @@ export const func = {
"Cognitive Science (CGS)": {
BT: -1,
BS: -1,
MT: -1,
MT: 117,
DoubleMajor: -1,
DualA: -1,
DualB: -1,
Expand Down Expand Up @@ -509,7 +509,7 @@ export const funcExpanded = {
MT: 18,
DoubleMajor: 32,
DualA: 42,
DualB: -1,
DualB: 53,
DualC: -1,
MDes: -1,
MBA: -1,
Expand All @@ -524,7 +524,7 @@ export const funcExpanded = {
DoubleMajor: 33,
DualA: 43,
DualB: 54,
DualC: -1,
DualC: 39,
MDes: -1,
MBA: -1,
PhD: 68,
Expand Down Expand Up @@ -611,7 +611,7 @@ export const funcExpanded = {
DualC: -1,
MDes: -1,
MBA: -1,
PhD: -1,
PhD: 72,
MSc: -1,
MSR: -1,
},
Expand Down Expand Up @@ -646,7 +646,7 @@ export const funcExpanded = {
CGS: {
BT: -1,
BS: -1,
MT: -1,
MT: 117,
DoubleMajor: -1,
DualA: -1,
DualB: -1,
Expand Down Expand Up @@ -844,7 +844,7 @@ export const rev = {
50: "DualB-BSBE",
51: "DualB-CE",
52: "DualB-CHE",
53: "<DELETED>DualB-CSE</DELETED>",
53: "DualB-CSE",
54: "DualB-EE",
55: "DualB-MSE",
101: "DualB-ME",
Expand All @@ -853,7 +853,7 @@ export const rev = {
103: "DualB-SDS",
57: "DualB-PHY",
58: "DualB-DES",
59: "<DELETED>DualC-EE</DELETED>",
59: "DualC-EE",
104: "DualB-MS",
105: "DualB-SEE",
60: "DualC-MS",
Expand All @@ -879,7 +879,7 @@ export const rev = {
89: "MSR-EE",
90: "MSR-ME",
91: "MSR-CGS",
92: "<DELETED>MSR-EEM</DELETED>",
92: "<DELETED>MSR-EEM</DELETED>", // extra
93: "MSR-PSE",
94: "MSR-SEE",
107: "MSc-CHM",
Expand All @@ -901,7 +901,7 @@ export const rev = {
111: "PhD-CHM",
112: "PhD-ECO",
71: "PhD-ES",
72: "<DELETED>PhD-MTH</DELETED>",
72: "PhD-MTH",
73: "PhD-PHY",
74: "PhD-CGS",
75: "PhD-DES",
Expand All @@ -917,6 +917,7 @@ export const rev = {
// Stupidest thing ever written if it works.
115: "DualA-ES",
116: "DualB-ES",
117: "MT-CGS",
};

export default { programExpanded, Branches, programCondensed, rev, func };
13 changes: 13 additions & 0 deletions pages/admin/rc/[rcid]/pvf/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import {
Box,
Button,
Expand Down Expand Up @@ -328,6 +329,18 @@ function Index() {
);
},
},
{
field: "remarks",
headerName: "Remarks",
align: "center",
headerAlign: "center",
width: 500,
renderCell: (params) => (
<Tooltip title={params.row.remarks}>
<div>{params.row.remarks}</div>
</Tooltip>
),
},
];

return (
Expand Down

0 comments on commit 8e76f1b

Please sign in to comment.