Skip to content

Commit

Permalink
[fix] Fixed error when captivePortalLoginForm.additional_fields is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed May 23, 2024
1 parent 0577548 commit 11327ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/status/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ export default class Status extends React.Component {
name={captivePortalLoginForm.fields.password || ""}
value={password}
/>
{captivePortalLoginForm.additional_fields.length &&
{captivePortalLoginForm.additional_fields &&
captivePortalLoginForm.additional_fields.map((field) => (
<input
readOnly
Expand Down

0 comments on commit 11327ba

Please sign in to comment.