Skip to content

Commit

Permalink
updated pub request modal heading
Browse files Browse the repository at this point in the history
  • Loading branch information
shayanaijaz committed Dec 10, 2024
1 parent 761c23d commit ae6dffa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useDispatch, useSelector, shallowEqual } from 'react-redux';
import { DescriptionList } from '_common';
import { Modal, ModalHeader, ModalBody } from 'reactstrap';
import styles from './DataFilesPublicationRequestModal.module.scss';
import { formatDateTime } from 'utils/timeFormat';
import { formatDate, formatDateTime } from 'utils/timeFormat';

const DataFilesPublicationRequestModal = () => {
const dispatch = useDispatch();
Expand Down Expand Up @@ -43,7 +43,7 @@ const DataFilesPublicationRequestModal = () => {
_order: index,
};

const heading = `Publication Request ${index + 1}`;
const heading = `Publication Request | ${formatDate(new Date(request.created_at))}`;

data[heading] = <DescriptionList data={publicationRequestDataObj} />;
});
Expand Down

0 comments on commit ae6dffa

Please sign in to comment.