Updated the tickets to allow agents to also view theirs
This commit is contained in:
@@ -143,6 +143,7 @@ export default function TicketDisplay({ user, ticket, onClose }: Props) {
|
||||
label: `${u.name} - ${u.email}`,
|
||||
})),
|
||||
]}
|
||||
disabled={user.type === "agent"}
|
||||
value={
|
||||
assignedTo
|
||||
? {
|
||||
|
||||
@@ -169,7 +169,7 @@ export default function Sidebar({
|
||||
isMinimized={isMinimized}
|
||||
/>
|
||||
)}
|
||||
{["admin", "developer"].includes(userType || "") && (
|
||||
{["admin", "developer", "agent"].includes(userType || "") && (
|
||||
<Nav
|
||||
disabled={disableNavigation}
|
||||
Icon={BsClipboardData}
|
||||
|
||||
Reference in New Issue
Block a user