Web: Client: Data import. bug fixed user not found not reset
This commit is contained in:
parent
d2e18a6d84
commit
20dfdf433e
@ -200,7 +200,7 @@ const SelectFileStep = ({
|
||||
uploadInterval.current = setInterval(async () => {
|
||||
try {
|
||||
const res = await getMigrationStatus();
|
||||
setProgress(res.progress);
|
||||
setProgress(res?.progress);
|
||||
|
||||
if (res.progress > 10) {
|
||||
setIsVisible(false);
|
||||
@ -233,6 +233,7 @@ const SelectFileStep = ({
|
||||
) {
|
||||
setUsers(res.parseResult);
|
||||
setShowReminder(true);
|
||||
setIsBackupEmpty(false);
|
||||
} else {
|
||||
setIsBackupEmpty(true);
|
||||
cancelMigration();
|
||||
|
@ -187,7 +187,7 @@ const SelectFileStep = ({
|
||||
uploadInterval.current = setInterval(async () => {
|
||||
try {
|
||||
const res = await getMigrationStatus();
|
||||
setProgress(res.progress);
|
||||
setProgress(res?.progress);
|
||||
|
||||
if (res.progress > 10) {
|
||||
setIsVisible(false);
|
||||
|
Loading…
Reference in New Issue
Block a user