mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Do not show history in more info if component not loaded
This commit is contained in:
parent
2196f77081
commit
20bdc82cba
@ -11,7 +11,9 @@
|
|||||||
<div>
|
<div>
|
||||||
<state-card-content stateObj="{{stateObj}}" style='margin-bottom: 24px;'>
|
<state-card-content stateObj="{{stateObj}}" style='margin-bottom: 24px;'>
|
||||||
</state-card-content>
|
</state-card-content>
|
||||||
|
<template if="{{hasHistoryComponent}}">
|
||||||
<state-timeline stateHistory="{{stateHistory}}" isLoadingData="{{isLoadingHistoryData}}"></state-timeline>
|
<state-timeline stateHistory="{{stateHistory}}" isLoadingData="{{isLoadingHistoryData}}"></state-timeline>
|
||||||
|
</template>
|
||||||
<more-info-content
|
<more-info-content
|
||||||
stateObj="{{stateObj}}"
|
stateObj="{{stateObj}}"
|
||||||
dialogOpen="{{dialogOpen}}"></more-info-content>
|
dialogOpen="{{dialogOpen}}"></more-info-content>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user