mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Render history after dialog has opened
This commit is contained in:
parent
5792c77100
commit
b9cf35cced
@ -56,7 +56,7 @@
|
||||
state-obj="[[stateObj]]"
|
||||
hass='[[hass]]' in-dialog></state-card-content>
|
||||
</h2>
|
||||
<template is='dom-if' if="[[showHistoryComponent]]">
|
||||
<template is='dom-if' if="[[showHistoryComponent]]" restamp>
|
||||
<div>
|
||||
<ha-state-history-data
|
||||
hass='[[hass]]'
|
||||
@ -180,7 +180,7 @@ Polymer({
|
||||
|
||||
dialogOpenChanged: function (newVal) {
|
||||
if (newVal) {
|
||||
this.async(function () { this.delayedDialogOpen = true; }.bind(this), 10);
|
||||
this.async(function () { this.delayedDialogOpen = true; }.bind(this), 100);
|
||||
} else if (!newVal && this.stateObj) {
|
||||
this.fire('hass-more-info', { entityId: null });
|
||||
this.delayedDialogOpen = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user