02270800
This commit is contained in:
parent
313f545e08
commit
4c13d70a28
|
@ -18,7 +18,7 @@ export function CoursesContainer() {
|
|||
return (
|
||||
<>
|
||||
<PostList
|
||||
renderItem={(post) => <CourseCard course={post}></CourseCard>}
|
||||
renderItem={(post) => <CourseCard course={post} edit={false}></CourseCard>}
|
||||
params={{
|
||||
pageSize: 12,
|
||||
where: {
|
||||
|
|
|
@ -44,6 +44,10 @@ export type PostDto = Post & {
|
|||
watchableStaffs: Staff[];
|
||||
terms: TermDto[]
|
||||
depts: DepartmentDto[]
|
||||
meta?: {
|
||||
thumbnail?: string
|
||||
views?: number
|
||||
}
|
||||
};
|
||||
|
||||
export type LectureMeta = {
|
||||
|
|
Loading…
Reference in New Issue