Skip to content

Commit

Permalink
add ref for showError
Browse files Browse the repository at this point in the history
  • Loading branch information
ozer550 committed Nov 27, 2023
1 parent 8c1c1a2 commit c7b4e51
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@
mixins: [commonCoreStrings, commonCoach, responsiveWindowMixin],
setup() {
const { saveQuiz, initializeQuiz } = useQuizCreation();
const showError = ref(false);
const quizInitialized = ref(false);
return { saveQuiz, initializeQuiz, quizInitialized };
return { showError, saveQuiz, initializeQuiz, quizInitialized };
},
provide() {
return {
showError: false,
showError: this.showError,
moreResultsState: null,
// null corresponds to 'All' filter value
filters: {
Expand Down

0 comments on commit c7b4e51

Please sign in to comment.