energy spline stack
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="alert alert-warning" rt-if="this.state.loading_data">
|
||||
Retrieving power data for the {this.props.house.name} household...
|
||||
</div>
|
||||
<table>
|
||||
<table rt-if="this.props.view === 'table'" class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
@@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr rt-repeat="power_datum in this.state.house.power_data" key="{power_datum.react_key}">
|
||||
<tr rt-repeat="power_datum in this.props.house.power_data" key="{power_datum.react_key}">
|
||||
<td></td>
|
||||
<td>{power_datum.time_to_s}</td>
|
||||
<td>{power_datum.consumption_to_s}</td>
|
||||
@@ -21,5 +21,5 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="power_data"></div>
|
||||
<div rt-if="this.props.view === 'graph'" id="power_graph"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user