This commit is contained in:
Kevin Röbert
2018-06-24 20:23:11 +02:00
parent 9a794d0bc3
commit 0d5aa6cf28
2 changed files with 6 additions and 1 deletions

View File

@@ -27,6 +27,11 @@ function getLog()
core(function (ref){
log = ref.getData('log');
// Sort the log | issue #70
log.log.sort(function(a,b) {
return b.timestamp - a.timestamp;
});
var length = Object.keys(log.log).length;
var row;
if(length != 0)