Fix conflict (#641)

This commit is contained in:
Christopher Chedeau 2020-01-31 21:51:35 +00:00 committed by GitHub
parent fc341c3763
commit c7eebd42c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ export async function importFromBackend(id: string | null) {
const data = await fetch(`${BACKEND_GET}${id}.json`)
.then(response => {
if (!response.ok) {
window.alert(i18n.t("alerts.importBackendFailed"));
window.alert(t("alerts.importBackendFailed"));
}
return response;
})