mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +00:00
Fix: Reverse logbook order
This commit is contained in:
parent
ba48e40a2b
commit
11ced71eb2
@ -54,6 +54,7 @@
|
|||||||
if (!DATE_CACHE[date]) {
|
if (!DATE_CACHE[date]) {
|
||||||
DATE_CACHE[date] = this.hass.callApi('GET', 'logbook/' + date).then(
|
DATE_CACHE[date] = this.hass.callApi('GET', 'logbook/' + date).then(
|
||||||
function (logbookEntries) {
|
function (logbookEntries) {
|
||||||
|
logbookEntries.reverse();
|
||||||
return logbookEntries;
|
return logbookEntries;
|
||||||
},
|
},
|
||||||
function () {
|
function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user