From bfc1d9a0a8a1b55aa6942f6b94b0cd3c72dae92d Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 17 Dec 2024 17:48:49 +0530 Subject: [PATCH] feat: load more in quiz list --- frontend/src/pages/Quizzes.vue | 10 ++++++---- frontend/src/utils/markdownParser.js | 2 -- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/Quizzes.vue b/frontend/src/pages/Quizzes.vue index 7dd53bbb..42d27f79 100644 --- a/frontend/src/pages/Quizzes.vue +++ b/frontend/src/pages/Quizzes.vue @@ -46,6 +46,11 @@ +
+ +
import { Breadcrumbs, + Button, createListResource, ListView, ListRows, ListRow, ListHeader, ListHeaderItem, - Button, } from 'frappe-ui' import { useRouter } from 'vue-router' import { computed, inject, onMounted } from 'vue' @@ -103,9 +108,6 @@ const quizzes = createListResource({ auto: true, cache: ['quizzes', user.data?.name], orderBy: 'modified desc', - onSuccess(data) { - data.forEach((row) => {}) - }, }) const quizColumns = computed(() => { diff --git a/frontend/src/utils/markdownParser.js b/frontend/src/utils/markdownParser.js index bf9aafe3..1303d1a7 100644 --- a/frontend/src/utils/markdownParser.js +++ b/frontend/src/utils/markdownParser.js @@ -65,8 +65,6 @@ export class Markdown { } else if (previousLine && this.hasLink(previousLine)) { const { text, url } = this.extractLink(previousLine) const anchorTag = `${text}` - console.log(previousLine.replace(/\[.+?\]\(.+?\)/, anchorTag)) - debugger this.convertBlock('paragraph', { text: previousLine.replace(/\[.+?\]\(.+?\)/, anchorTag), })