mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-02-15 14:03:39 +02:00
fixed missing return statement
This commit is contained in:
parent
12561a1b0f
commit
9c3c7b0d2c
@ -3,36 +3,38 @@ import Mod from './Mod';
|
||||
|
||||
class ModOverview extends React.Component {
|
||||
render() {
|
||||
<div className="box">
|
||||
<div className="box-header">
|
||||
<h3 className="box-title">Manage Mods</h3>
|
||||
</div>
|
||||
return(
|
||||
<div className="box">
|
||||
<div className="box-header">
|
||||
<h3 className="box-title">Manage Mods</h3>
|
||||
</div>
|
||||
|
||||
<div className="box-body">
|
||||
<div className="table-responsive">
|
||||
<table className="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
<th>Toggle Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{this.props.installedMods.map ( (mod, i) => {
|
||||
return(
|
||||
<Mod
|
||||
key={i}
|
||||
mod={mod}
|
||||
{...this.props}
|
||||
/>
|
||||
)
|
||||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
<div className="box-body">
|
||||
<div className="table-responsive">
|
||||
<table className="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
<th>Toggle Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{this.props.installedMods.map ( (mod, i) => {
|
||||
return(
|
||||
<Mod
|
||||
key={i}
|
||||
mod={mod}
|
||||
{...this.props}
|
||||
/>
|
||||
)
|
||||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user