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 () => {
|
uploadInterval.current = setInterval(async () => {
|
||||||
try {
|
try {
|
||||||
const res = await getMigrationStatus();
|
const res = await getMigrationStatus();
|
||||||
setProgress(res.progress);
|
setProgress(res?.progress);
|
||||||
|
|
||||||
if (res.progress > 10) {
|
if (res.progress > 10) {
|
||||||
setIsVisible(false);
|
setIsVisible(false);
|
||||||
@ -233,6 +233,7 @@ const SelectFileStep = ({
|
|||||||
) {
|
) {
|
||||||
setUsers(res.parseResult);
|
setUsers(res.parseResult);
|
||||||
setShowReminder(true);
|
setShowReminder(true);
|
||||||
|
setIsBackupEmpty(false);
|
||||||
} else {
|
} else {
|
||||||
setIsBackupEmpty(true);
|
setIsBackupEmpty(true);
|
||||||
cancelMigration();
|
cancelMigration();
|
||||||
|
@ -187,7 +187,7 @@ const SelectFileStep = ({
|
|||||||
uploadInterval.current = setInterval(async () => {
|
uploadInterval.current = setInterval(async () => {
|
||||||
try {
|
try {
|
||||||
const res = await getMigrationStatus();
|
const res = await getMigrationStatus();
|
||||||
setProgress(res.progress);
|
setProgress(res?.progress);
|
||||||
|
|
||||||
if (res.progress > 10) {
|
if (res.progress > 10) {
|
||||||
setIsVisible(false);
|
setIsVisible(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user