@gamelearn/arcade-components 2.24.0 → 2.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -129,7 +129,8 @@ var ResultsComponent = function ResultsComponent(_ref) {
|
|
|
129
129
|
var allIsCorrect = getNumberOfQuestionsCorrectlyAnswered() === totalCorrectAnswers;
|
|
130
130
|
var minimumPercentageNotExceeded = numberOfQuestionsCorrectlyAnswered < minimumPercentage;
|
|
131
131
|
var minimumPercentageExceeded = numberOfQuestionsCorrectlyAnswered >= minimumPercentage;
|
|
132
|
-
|
|
132
|
+
console.info('adadf');
|
|
133
|
+
var showFinishButton = !mandatory || minimumPercentageExceeded;
|
|
133
134
|
var bar = Math.trunc(points / totalCorrectAnswers * 100);
|
|
134
135
|
|
|
135
136
|
var translate = function translate(id, values) {
|