establishment user dashboard table empty column data added

This commit is contained in:
Senthamilselvi 2025-11-03 10:54:32 +05:30
parent aca131ae33
commit 8705128a9e

View File

@ -65,7 +65,7 @@ export const SubmissionHistory = ({ history = [], loading = false, error = '' })
if (!Array.isArray(history)) return [];
return history.map((entry, index) => ({
id: entry?.id ?? index,
survey_name: '',
survey_name: 'Industrial Producation Survey',
year: entry?.year || '—',
quarter: entry?.quarter || '—',
status: entry?.status || 'Pending',
@ -181,6 +181,7 @@ export const SubmissionHistory = ({ history = [], loading = false, error = '' })
beforeHeader={toolbar}
separated
rowGapClass="border-spacing-y-2"
columnWidths={[300, 100, 100, 120, 180, 120, 120]}
/>
</section>