fix: add button approve in detail audio
This commit is contained in:
parent
0deb587a82
commit
c4ff801d63
|
|
@ -817,10 +817,10 @@ export default function FormAudioDetail() {
|
|||
</DialogContent>
|
||||
</Dialog>
|
||||
</Card>
|
||||
{Number(detail?.needApprovalFromLevel) == Number(userLevelId) ? (
|
||||
{/* {Number(detail?.needApprovalFromLevel) == Number(userLevelId) ? (
|
||||
Number(detail?.uploadedById) == Number(userId) ? (
|
||||
""
|
||||
) : (
|
||||
) : ( */}
|
||||
<div className="flex flex-col gap-2 p-3">
|
||||
<Button
|
||||
onClick={() => actionApproval("2")}
|
||||
|
|
@ -845,10 +845,10 @@ export default function FormAudioDetail() {
|
|||
Reject
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
{/* )
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
)} */}
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Reference in New Issue