This commit is contained in:
Sara Arjona
2024-07-10 09:17:59 +08:00
committed by Ilya Tregubov
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
@@ -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];