This commit is contained in:
Sara Arjona 2024-07-09 15:30:08 +02:00 committed by Ilya Tregubov
commit 2b3ff1633f
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -492,7 +492,7 @@ async function loadErrorStrings(courseId) {
{key: 'dndupload', component: 'core_error'},
{key: 'dndunkownfile', component: 'core_error'},
];
window.console.log(allStrings);
const loadedStrings = await getStrings(allStrings);
allStrings.forEach(({key}, index) => {
errors[key] = loadedStrings[index];