Merge branch 'prod' of https://gitlab.com/hanifsalafi/mediahub_redesign into prod
This commit is contained in:
commit
d10bd92960
|
|
@ -146,14 +146,16 @@ interface AcceptanceData {
|
|||
|
||||
interface AcceptanceData {
|
||||
id: number;
|
||||
userLevelId: number;
|
||||
userProfileId: number;
|
||||
sentAt: string;
|
||||
isAccept: boolean;
|
||||
isSent: boolean;
|
||||
userLevels: {
|
||||
userProfiles: {
|
||||
id: number;
|
||||
name: string;
|
||||
aliasName: string;
|
||||
fullname: string;
|
||||
userKeycloak: {
|
||||
username: string;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -841,7 +843,7 @@ export default function FormTaskTaDetail() {
|
|||
<thead>
|
||||
<tr className="bg-gray-100 border-b">
|
||||
<th className="px-4 py-2 text-left">Waktu</th>
|
||||
<th className="px-4 py-2 text-left">Unit</th>
|
||||
<th className="px-4 py-2 text-left">Tenaga Ahli</th>
|
||||
<th className="px-4 py-2 text-left">Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -852,7 +854,7 @@ export default function FormTaskTaDetail() {
|
|||
<td className="px-4 py-2">
|
||||
{new Date(item.sentAt).toLocaleString()}
|
||||
</td>
|
||||
<td className="px-4 py-2">{item.userLevels.name}</td>
|
||||
<td className="px-4 py-2">{item.userProfiles.fullname} <i>({item.userProfiles.userKeycloak.username})</i></td>
|
||||
<td className="px-4 py-2">
|
||||
{type === "terkirim" ? "Terkirim" : "Diterima"}
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue