mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Etemplate: Fix double duration format in timesheet nextmatch header
This commit is contained in:
parent
10f40c9dbb
commit
1ad5d321a4
@ -695,6 +695,7 @@ var et2_date_duration = /** @class */ (function (_super) {
|
||||
et2_date_duration.prototype.set_display_format = function (format) {
|
||||
if (format.length <= 1) {
|
||||
this.node.remove('select.et2_date_duration');
|
||||
this.format.remove();
|
||||
this.format = null;
|
||||
}
|
||||
this.options.display_format = format;
|
||||
|
@ -861,6 +861,7 @@ export class et2_date_duration extends et2_date
|
||||
if (format.length <= 1)
|
||||
{
|
||||
this.node.remove('select.et2_date_duration');
|
||||
this.format.remove();
|
||||
this.format = null;
|
||||
}
|
||||
this.options.display_format = format;
|
||||
|
Loading…
Reference in New Issue
Block a user