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