diff --git a/frontend/src/views/TimeRecords.vue b/frontend/src/views/TimeRecords.vue index 47a946a..33485ef 100644 --- a/frontend/src/views/TimeRecords.vue +++ b/frontend/src/views/TimeRecords.vue @@ -113,11 +113,16 @@ export default { start = start.split("T"); records[index].startdate = start[1]; records[index].date = start[0]; - + + try{ var end = record.enddate; - end = end.split("T"); - records[index].enddate = end[1]; + records[index].enddate = end[1]; + }catch(e){ + records[index].enddate = "pending"; + } + + } this.timeRecords = records;