diff --git a/src/components/blocks/StagingDataTable.js b/src/components/blocks/StagingDataTable.js index a68d3281..34e4948d 100644 --- a/src/components/blocks/StagingDataTable.js +++ b/src/components/blocks/StagingDataTable.js @@ -3,7 +3,7 @@ import { useSelector } from 'react-redux'; import styled, { withTheme } from 'styled-components'; import { TableCellHeaderText, TableCellText } from '../typography'; import { convertPascalCaseToSentenceCase } from '../../utils/stringUtils'; -import { MinusIcon } from '..'; +import { MinusIcon, H3 } from '..'; import { TableDrawer } from './'; import { useWindowSize } from '../hooks/useWindowSize'; @@ -76,6 +76,13 @@ const StagingDataTableContainer = styled('div')` height: 100%; `; +const NoDataMessageContainer = styled('div')` + display: flex; + height: 100%; + justify-content: center; + align-items: center; +`; + const ChangeGroupHeader = ({ headings, appStore }) => { return ( @@ -195,6 +202,11 @@ const StagingDataTable = withTheme(({ headings, data, deleteStagingData }) => { return (
+ {data.length === 0 && ( + +

No staged data at this time

+
+ )} {data && headings && data.map((changeGroup, index) => (