forked from extern/egroupware
Hide unit label if there is no value
This commit is contained in:
parent
00d668f6d5
commit
d7eb464605
@ -794,7 +794,7 @@ var et2_date_duration = (function(){ "use strict"; return et2_date.extend(
|
||||
}
|
||||
else
|
||||
{
|
||||
this.format.text(this.time_formats[display.unit]);
|
||||
this.format.text(display.unit ? this.time_formats[display.unit] : '');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user