Skip to content

Commit

Permalink
MNT ESLint issues (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabina-talipova authored Jul 9, 2023
1 parent 1687a49 commit 65a9c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/bundles/WorkflowField.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65a9c7f

Please sign in to comment.