From 2611282377a811c478fe9e8cd4323eb13240ccfa Mon Sep 17 00:00:00 2001 From: Sabina Talipova Date: Wed, 5 Jul 2023 14:51:43 +1200 Subject: [PATCH] FIX ESLint issues --- 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