Fix stats-table with tab switch
This commit is contained in:
@@ -136,13 +136,13 @@
|
|||||||
<b-tabs card>
|
<b-tabs card>
|
||||||
<b-tab title="Celá doba">
|
<b-tab title="Celá doba">
|
||||||
<div>Štatistika za celú dobu v grafe</div>
|
<div>Štatistika za celú dobu v grafe</div>
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'temperature'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'temperature'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Hodina">
|
<b-tab title="Hodina">
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'temperature'" :range="'1h'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'temperature'" :range="'1h'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Deň" v-if="startdate">
|
<b-tab title="Deň" v-if="startdate">
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'temperature'" :range="'1d'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'temperature'" :range="'1d'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
</b-tabs>
|
</b-tabs>
|
||||||
</b-card>
|
</b-card>
|
||||||
@@ -153,13 +153,13 @@
|
|||||||
<b-tabs card>
|
<b-tabs card>
|
||||||
<b-tab title="Celá doba">
|
<b-tab title="Celá doba">
|
||||||
<div>Štatistika za celú dobu v grafe</div>
|
<div>Štatistika za celú dobu v grafe</div>
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'humidity'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'humidity'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Hodina">
|
<b-tab title="Hodina">
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'humidity'" :range="'1h'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'humidity'" :range="'1h'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Deň" v-if="startdate">
|
<b-tab title="Deň" v-if="startdate">
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'humidity'" :range="'1d'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'humidity'" :range="'1d'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
</b-tabs>
|
</b-tabs>
|
||||||
</b-card>
|
</b-card>
|
||||||
@@ -170,13 +170,13 @@
|
|||||||
<b-tabs card>
|
<b-tabs card>
|
||||||
<b-tab title="Celá doba">
|
<b-tab title="Celá doba">
|
||||||
<div>Štatistika za celú dobu v grafe</div>
|
<div>Štatistika za celú dobu v grafe</div>
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'pressure'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'pressure'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Hodina">
|
<b-tab title="Hodina">
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'pressure'" :range="'1h'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'pressure'" :range="'1h'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Deň" v-if="startdate">
|
<b-tab title="Deň" v-if="startdate">
|
||||||
<stats-table :fromdate="startdate" :todate="enddate" :type="'pressure'" :range="'1d'" :key="componentKey"></stats-table>
|
<stats-table :fromdate="startdate" :todate="enddate" :type="'pressure'" :range="'1d'" :key="componentKey" :host="host"></stats-table>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
</b-tabs>
|
</b-tabs>
|
||||||
</b-card>
|
</b-card>
|
||||||
|
|||||||
Reference in New Issue
Block a user