chore: update publish workflow to trigger on main branch and refine slug generation in course settings

This commit is contained in:
Rotimi Best
2026-03-13 20:18:46 +01:00
parent 492f8dc5ed
commit dd8c8137a0
7 changed files with 15 additions and 15 deletions
@@ -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(