admin dashboard dropdown search no submission found message added
This commit is contained in:
parent
2ddb4619ad
commit
1455eed578
@ -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,7 +150,11 @@ 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
|
||||||
headers={headers}
|
headers={headers}
|
||||||
@ -221,7 +228,7 @@ const SubmissionTable = ({ selectedQuarter, selectedYear }) => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex justify-end px-6 pb-14 pt-6">
|
<div className="flex justify-end px-6 pb-14 pt-6">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user