Skip to content

Commit

Permalink
fix(ui): add optional check to avoid undefined reference in project d…
Browse files Browse the repository at this point in the history
…etail (#20044) (#21263)

Signed-off-by: linghaoSu <[email protected]>
Co-authored-by: Linghao Su <[email protected]>
  • Loading branch information
crenshaw-dev and linghaoSu authored Dec 19, 2024
1 parent 09eede0 commit 64a14a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ export class ProjectDetails extends React.Component<RouteComponentProps<{name: s
/>
<AuthSettingsCtx.Consumer>
{authCtx =>
authCtx.appsInAnyNamespaceEnabled && (
authCtx?.appsInAnyNamespaceEnabled && (
<EditablePanel
save={item => this.saveProject(item)}
values={proj}
Expand Down

0 comments on commit 64a14a0

Please sign in to comment.