fix url competitive
This commit is contained in:
parent
7e3bdf030f
commit
2a81a61f6f
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ export const load: PageServerLoad = async ({ fetch }) => {
|
|||
|
||||
exams.forEach((ex) => {
|
||||
const { id, title, announcement_startDate } = ex;
|
||||
const url = '/qualifying/' + id;
|
||||
const url = '/competitive/' + id;
|
||||
ex.date = dayjs(announcement_startDate).format('DD MMM BBBB');
|
||||
ex.image = ex.image ? ex.image : '/images/exam_place_holder.png';
|
||||
if (!ex.announcementExam) return; //ignore other date for normal post
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue