establishment user dashboard table empty column data added
This commit is contained in:
parent
aca131ae33
commit
8705128a9e
@ -65,7 +65,7 @@ export const SubmissionHistory = ({ history = [], loading = false, error = '' })
|
|||||||
if (!Array.isArray(history)) return [];
|
if (!Array.isArray(history)) return [];
|
||||||
return history.map((entry, index) => ({
|
return history.map((entry, index) => ({
|
||||||
id: entry?.id ?? index,
|
id: entry?.id ?? index,
|
||||||
survey_name: '—',
|
survey_name: 'Industrial Producation Survey',
|
||||||
year: entry?.year || '—',
|
year: entry?.year || '—',
|
||||||
quarter: entry?.quarter || '—',
|
quarter: entry?.quarter || '—',
|
||||||
status: entry?.status || 'Pending',
|
status: entry?.status || 'Pending',
|
||||||
@ -181,6 +181,7 @@ export const SubmissionHistory = ({ history = [], loading = false, error = '' })
|
|||||||
beforeHeader={toolbar}
|
beforeHeader={toolbar}
|
||||||
separated
|
separated
|
||||||
rowGapClass="border-spacing-y-2"
|
rowGapClass="border-spacing-y-2"
|
||||||
|
columnWidths={[300, 100, 100, 120, 180, 120, 120]}
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user