Remove success and error banners when attempting a new import
This commit is contained in:
parent
b9fae8e2aa
commit
fb0a9d8287
@ -193,6 +193,9 @@ function FamilyExportCard(): React.ReactElement {
|
|||||||
});
|
});
|
||||||
if (file === null) return;
|
if (file === null) return;
|
||||||
|
|
||||||
|
setError(undefined);
|
||||||
|
setSuccess(undefined);
|
||||||
|
|
||||||
loading.show("Restauration des données de la famille en cours...");
|
loading.show("Restauration des données de la famille en cours...");
|
||||||
|
|
||||||
await DataApi.ImportData(family.familyId, file);
|
await DataApi.ImportData(family.familyId, file);
|
||||||
|
Loading…
Reference in New Issue
Block a user