chore: update publish workflow to trigger on main branch and refine slug generation in course settings
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
let { data } = $props();
|
||||
|
||||
let userCourseAnalytics: UserCourseAnalytics | undefined = $state(data.userCourseAnalytics ?? undefined);
|
||||
let userCourseAnalytics: UserCourseAnalytics | undefined = $derived(data.userCourseAnalytics ?? undefined);
|
||||
|
||||
function getPercentage(a: number, b: number): number {
|
||||
if (b === 0) {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
}
|
||||
|
||||
let { data } = $props();
|
||||
const { quizId } = data;
|
||||
const quizId = $derived(data.quizId);
|
||||
|
||||
// Questionnaire State
|
||||
let currentQuestion: QuizQuestion = $state(
|
||||
|
||||
Reference in New Issue
Block a user