Skip to content

Commit

Permalink
revert agressive refacto
Browse files Browse the repository at this point in the history
  • Loading branch information
Zwiterrion committed Oct 13, 2024
1 parent 6616f02 commit 11414fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions otoroshi/javascript/src/components/inputs/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,9 @@ export class Table extends Component {
entityId={this.props.extractKey(this.state.currentItem)}
value={this.state.currentItem} />

<DraftStateDaemon
value={this.state.currentItem}
setValue={currentItem => this.setState({ currentItem })} />
<DraftStateDaemon
value={this.state.currentItem}
setValue={currentItem => this.setState({ currentItem })} />
</>}

{!this.state.showEditForm && !this.state.showAddForm && (
Expand Down
4 changes: 2 additions & 2 deletions otoroshi/javascript/src/pages/RouteDesigner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,8 @@ class RouteDesigner extends React.Component {

const entity = entityFromURI(location);

if (!this.state.value)
return null
// if (!this.state.value)
// return null

if (Object.keys(match.params).length === 0)
return <Route component={() => <RoutesView history={history} globalEnv={globalEnv} />} />;
Expand Down

0 comments on commit 11414fd

Please sign in to comment.