Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 571bff50 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team

model.js fixed a bug where dates with value 'None' didn't display -/-

parent 62571cbb
......@@ -1461,7 +1461,7 @@ Model.prototype = {
case "sampling_date":
if ((typeof this.samples.timestamp != 'undefined') && this.samples.timestamp[timeID])
if ((typeof this.samples.timestamp != 'undefined') && this.samples.timestamp[timeID] && this.samples.timestamp[timeID != "None"])
result = this.samples.timestamp[timeID].split(" ")[0]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment