admin dashboard dropdown search no submission found message added

This commit is contained in:
Senthamilselvi 2025-11-06 15:12:52 +05:30
parent 2ddb4619ad
commit 1455eed578

View File

@ -134,7 +134,10 @@ const SubmissionTable = ({ selectedQuarter, selectedYear }) => {
return ( return (
<div <div
className="border border-[#E5E7EB] bg-white shadow-[0_16px_32px_rgba(15,23,42,0.06)] rounded-[8px]" className="border border-[#E5E7EB] bg-white shadow-[0_16px_32px_rgba(15,23,42,0.06)] rounded-[8px]"
style={{ width: '1250px', minHeight: '780px' }} style={{
width: '1250px',
minHeight: filtered.length === 0 || loading ? 'auto' : '780px',
}}
> >
<div className="space-y-[1px] overflow-x-auto"> <div className="space-y-[1px] overflow-x-auto">
<div className="px-6 pt-6 pb-4"> <div className="px-6 pt-6 pb-4">
@ -147,6 +150,10 @@ const SubmissionTable = ({ selectedQuarter, selectedYear }) => {
<div className="flex items-center justify-center h-[500px] text-gray-500"> <div className="flex items-center justify-center h-[500px] text-gray-500">
Loading submissions... Loading submissions...
</div> </div>
) : filtered.length === 0 ? (
<div className="flex items-center justify-center py-8 min-h-[180px] text-[#7B5C1F] font-semibold text-[15px]">
No Submission Found
</div>
) : ( ) : (
<div className="min-w-[1200px]"> <div className="min-w-[1200px]">
<Table <Table