From f44026526d317259260e2473d789587532836de5 Mon Sep 17 00:00:00 2001 From: Guillaume PERE Date: Thu, 7 Nov 2024 15:42:12 +0100 Subject: [PATCH] Fixes #176 : Update the compliance rates generated via XML file - Android --- js/controllers/statementManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/controllers/statementManager.js b/js/controllers/statementManager.js index 71716613..e8f8e66a 100644 --- a/js/controllers/statementManager.js +++ b/js/controllers/statementManager.js @@ -1234,14 +1234,14 @@ exportStatementXML = function (statementResult) { xmlStatement += ' ' + dataWCAG.nbTrueWcag + '\n'; xmlStatement += ' ' + dataWCAG.nbFalseWcag + '\n'; xmlStatement += ' ' + dataWCAG.nbNaWcag + '\n'; - xmlStatement += ' ' + dataWCAG.result + '\n'; + xmlStatement += ' ' + dataWCAG.globalPagesResult + '\n'; xmlStatement += ' \n'; xmlStatement += '\n\n'; xmlStatement += '\n'; - xmlStatement += '\n'; + xmlStatement += '\n'; statementResult.forEach(item => xmlStatement += ' \n ' + item.conformeA + '\n ' + item.conformeAA + '\n ' + item.nonconformeA + ' \n ' + item.nonconformeAA + ' \n ' + item.naA + '\n ' + item.naAA + '\n ' + item.result + '\n\n'); ; xmlStatement += '\n\n';