Skip to content

Commit

Permalink
fix(requests): small fix for missing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ADRFranklin committed Jul 31, 2021
1 parent 6d2244c commit db67464
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/src/page/Requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,13 @@ class Requests extends React.Component {
data-id={server.uuid}
name="path"
value={
this.state[`edit_${type}`][server.uuid].path
? this.state[`edit_${type}`][server.uuid].path
this.state[`edit_${type}`][server.uuid]?.path
? this.state[`edit_${type}`][server.uuid]?.path
: false
}
dataValue={
this.state[`edit_${type}`][server.uuid].path
? this.state[`edit_${type}`][server.uuid].path
this.state[`edit_${type}`][server.uuid]?.path
? this.state[`edit_${type}`][server.uuid]?.path
: false
}
onChange={this.changeServerSettings}
Expand Down

0 comments on commit db67464

Please sign in to comment.