Merged develop into bug-fixing-19-MAR
This commit is contained in:
@@ -41,7 +41,7 @@ export const getServerSideProps = withIronSessionSsr(({req, res}) => {
|
||||
redirect: {
|
||||
destination: "/login",
|
||||
permanent: false,
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ export const getServerSideProps = withIronSessionSsr(({req, res}) => {
|
||||
redirect: {
|
||||
destination: "/",
|
||||
permanent: false,
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -179,6 +179,7 @@ export default function Tickets() {
|
||||
<>
|
||||
<Modal
|
||||
isOpen={!!selectedTicket}
|
||||
title={selectedTicket ? selectedTicket.id : undefined}
|
||||
onClose={() => {
|
||||
reload();
|
||||
setSelectedTicket(undefined);
|
||||
|
||||
Reference in New Issue
Block a user