From 65a9c7fc1f022fc7a19ded699189164a28995905 Mon Sep 17 00:00:00 2001 From: Sabina Talipova <87288324+sabina-talipova@users.noreply.github.com> Date: Mon, 10 Jul 2023 09:58:01 +1200 Subject: [PATCH] MNT ESLint issues (#497) --- client/src/bundles/WorkflowField.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/bundles/WorkflowField.js b/client/src/bundles/WorkflowField.js index a5089328..fdedd387 100644 --- a/client/src/bundles/WorkflowField.js +++ b/client/src/bundles/WorkflowField.js @@ -221,13 +221,13 @@ jQuery.entwine('workflow', ($) => { $('#Form_EditForm_action_publish').prev('button').addClass('ui-corner-right'); if (publishDate === '') { - // Has time, not date + // Has time, not date message = i18n.sprintf( i18n._t('Workflow.EMBARGOMESSAGETIME'), publishTime ); } else if (publishTime === '') { - // has date no time + // has date no time message = i18n.sprintf( i18n._t('Workflow.EMBARGOMESSAGEDATE'), publishDate