TicketEdit updates
This commit is contained in:
parent
dd9a5d4bec
commit
d7f8c87ccb
2 changed files with 56 additions and 46 deletions
|
|
@ -6,6 +6,7 @@ import { NextPage } from "next";
|
|||
import { Grid } from "@mui/material";
|
||||
import { Layout } from "components/Layout";
|
||||
import { TicketDetail } from "components/TicketDetail";
|
||||
import { TicketEdit } from "components/TicketEdit";
|
||||
|
||||
type TicketProps = {
|
||||
id: string;
|
||||
|
|
@ -89,12 +90,12 @@ const Ticket: NextPage<TicketProps> = ({ id }) => {
|
|||
</Head>
|
||||
{shouldRender && (
|
||||
<Grid container spacing={0} sx={{ height: "100vh" }} direction="row">
|
||||
<Grid item sx={{ height: "100vh" }} xs={12}>
|
||||
<Grid item sx={{ height: "100vh" }} xs={9}>
|
||||
<TicketDetail ticket={ticketData.ticket} />
|
||||
</Grid>
|
||||
{/*<Grid item xs={0} sx={{ height: "100vh" }}>
|
||||
<Grid item xs={3} sx={{ height: "100vh" }}>
|
||||
<TicketEdit ticket={ticketData.ticket} />
|
||||
</Grid>*/}
|
||||
</Grid>
|
||||
</Grid>
|
||||
)}
|
||||
{ticketError && <div>{ticketError.toString()}</div>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue