Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashonecker committed Jul 4, 2024
1 parent 1d579ab commit 9930bc6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/components/forms/TicketForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ export default function TicketForm({
title={title}
/>
<Stack direction="row" sx={{ mt: 2, mb: 1 }}>
<TicketStatusChip ticketStatus={"OPEN"} />
{sidePanelConfig.formType == "NewTicket" && (
<TicketStatusChip ticketStatus={"OPEN"} />
)}
{sidePanelConfig.formType == "UpdateTicket" && (
<TicketStatusChip ticketStatus={sidePanelConfig.ticket.status} />
)}
</Stack>
<TicketDescriptionInput
user={user}
Expand Down

0 comments on commit 9930bc6

Please sign in to comment.