Remove 'history not found'
This commit is contained in:
parent
98b882d599
commit
8e9fd70d87
@ -13,8 +13,6 @@ class StateHistoryCharts extends LocalizeMixin(PolymerElement) {
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
/* height of single timeline chart = 58px */
|
||||
min-height: 58px;
|
||||
}
|
||||
.info {
|
||||
text-align: center;
|
||||
@ -32,16 +30,6 @@ class StateHistoryCharts extends LocalizeMixin(PolymerElement) {
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template
|
||||
is="dom-if"
|
||||
class="info"
|
||||
if="[[_computeIsEmpty(isLoadingData, historyData)]]"
|
||||
>
|
||||
<div class="info">
|
||||
[[localize('ui.components.history_charts.no_history_found')]]
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template is="dom-if" if="[[historyData.timeline.length]]">
|
||||
<state-history-chart-timeline
|
||||
hass="[[hass]]"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user