Skip to content

Commit

Permalink
MNT ESLint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Jul 7, 2023
1 parent 12f4627 commit f31394c
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 f31394c

Please sign in to comment.