Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit ee297cb

Browse files
committed
fix: cannot load view RB page
ref issue #90
1 parent 7d037b7 commit ee297cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/ResourceBookingDetails/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const ResourceBookingDetails = ({ teamId, resourceBookingId }) => {
4646

4747
return (
4848
<Page title="Member Details">
49-
{!member ? (
49+
{!(member && resource) ? (
5050
<LoadingIndicator error={loadingError || loadingTeamError} />
5151
) : (
5252
<>

src/routes/ResourceBookingForm/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const ResourceBookingDetails = ({ teamId, resourceBookingId }) => {
8989
<>
9090
<PageHeader
9191
title="Edit Member Details"
92-
backTo={`/taas/myteams/${teamId}/rb/${rb.id}`}
92+
backTo={`/taas/myteams/${teamId}/rb/${resourceBookingId}`}
9393
/>
9494
<div styleName="rb-modification-details">
9595
<TCForm

0 commit comments

Comments
 (0)