mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge remote-tracking branch 'origin/date_default_answer' into staging
This commit is contained in:
commit
27dfd23941
@ -2113,7 +2113,10 @@ define([
|
||||
|
||||
Object.keys(answers).forEach(function (author) {
|
||||
var obj = answers[author];
|
||||
var answer = Flatpickr.formatDate(new Date(obj.msg[uid]), dateFormat);
|
||||
var answer;
|
||||
if (obj.msg[uid]) {
|
||||
answer = Flatpickr.formatDate(new Date(obj.msg[uid]), dateFormat);
|
||||
}
|
||||
if (isEmpty(answer)) { return empty++; }
|
||||
results.push(h('div.cp-charts-row', h('span.cp-value', answer)));
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user