Skip to content

Commit d43900a

Browse files
committed
fix alert uuid param
1 parent d3f0c8b commit d43900a

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/pages/endpoint/[endpointUUID]

1 file changed

+1
-1
lines changed

frontend/src/pages/endpoint/[endpointUUID]/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const Endpoint = ({
4141

4242
export const getServerSideProps: GetServerSideProps = async context => {
4343
const initAlertParams = {
44-
uuid: context.query.uuid as string,
44+
uuid: context.query.uuid as string || null,
4545
apiEndpointUuid: context.query.endpointUUID as string,
4646
riskScores: [],
4747
status: [Status.OPEN],

0 commit comments

Comments
 (0)