This commit is contained in:
Rao 2025-02-26 21:08:57 +08:00
parent aac476cfdd
commit 5f140e7e33
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export default function FilterSection() {
});
};
return (
<div className="bg-white p-6 rounded-lg shadow-sm space-y-6 h-full">
<div className="bg-white p-6 rounded-lg shadow-sm w-1/6 space-y-6 h-full fixed">
{taxonomies?.map((tax, index) => {
const items = Object.entries(selectedTerms).find(
([key, items]) => key === tax.slug

View File

@ -53,7 +53,7 @@ export const LectureItem: React.FC<LectureItemProps> = ({
)}
<div className="text-gray-500 whitespace-normal">
<EyeOutlined></EyeOutlined>
<span className="ml-2">{lecture?.meta?.views}</span>
<span className="ml-2">{lecture?.meta?.views ? lecture?.meta?.views : 0}</span>
</div>
</div>
</div>