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 (
|
||||
<div
|
||||
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="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">
|
||||
Loading submissions...
|
||||
</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]">
|
||||
<Table
|
||||
|
||||
Loading…
Reference in New Issue
Block a user