We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4932d6c commit b5568d8Copy full SHA for b5568d8
www/assets/js/sofia.db.js
@@ -318,7 +318,7 @@ S.db.fiches = {
318
value.doc.last_update = value.doc.events[value.doc.events.length -1].timestamp;
319
var m = moment(value.doc.last_update);
320
value.doc.last_update_since = m.fromNow();
321
- value.doc.last_update_is_old = m.add(3, 'hours').isBefore();
+ value.doc.last_update_is_old = m.add(S.config.fiche.update_timeout, 'minutes').isBefore();
322
var d = moment(value.doc.patient.birthdate);
323
value.doc.patient.age = moment().diff(d, 'years');
324
value.doc.patient.age_formatted = d.fromNow(true);
0 commit comments