From 51bdca758e79adb9d599873dd24455b878198dbb Mon Sep 17 00:00:00 2001 From: b-Nollet Date: Wed, 8 Jan 2025 15:03:05 +0100 Subject: [PATCH] fix(xo-server-backup-reports): fix undefined function in partial --- .../templates/markdown/partials/vmFailure.hbs | 2 +- .../templates/mjml/partials/vmFailure.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/xo-server-backup-reports/templates/markdown/partials/vmFailure.hbs b/packages/xo-server-backup-reports/templates/markdown/partials/vmFailure.hbs index 3dd2b281219..46d414d42c9 100644 --- a/packages/xo-server-backup-reports/templates/markdown/partials/vmFailure.hbs +++ b/packages/xo-server-backup-reports/templates/markdown/partials/vmFailure.hbs @@ -9,7 +9,7 @@ - **UUID**: {{{uuid}}} - **Type**: {{{taskLog.data.type}}} -{{>reportTemporalDataMd end=taskLog.end start=taskLog.start}} +{{>reportTemporalDataMd end=taskLog.end start=taskLog.start formatDate=../formatDate}} {{>reportWarningsMd task=taskLog}} - **Error**: {{{taskLog.result.message}}} {{else}} diff --git a/packages/xo-server-backup-reports/templates/mjml/partials/vmFailure.hbs b/packages/xo-server-backup-reports/templates/mjml/partials/vmFailure.hbs index f43cf2f42f3..4d3838b9dda 100644 --- a/packages/xo-server-backup-reports/templates/mjml/partials/vmFailure.hbs +++ b/packages/xo-server-backup-reports/templates/mjml/partials/vmFailure.hbs @@ -16,7 +16,7 @@