Remove 'history not found'

This commit is contained in:
cdce8p 2018-06-03 22:05:01 +02:00
parent 98b882d599
commit 8e9fd70d87

View File

@ -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]]"