fix: misc issues

This commit is contained in:
Jannat Patel
2024-11-27 15:45:26 +05:30
parent 6c06f7d19b
commit a64b0f734a
5 changed files with 25 additions and 8 deletions

View File

@@ -60,6 +60,9 @@ export class Quiz {
}
renderQuizModal() {
if (this.readOnly) {
return
}
const app = createApp(QuizPlugin, {
onQuizAddition: (quiz) => {
this.data.quiz = quiz