Skip to content

Commit 925ac7b

Browse files
katinthehatsiteKateryna Kodonenko
andauthored
Ensure that the import progress does not show during sync (#2193)
Co-authored-by: Kateryna Kodonenko <kateryna@automattic.com>
1 parent 06f39cb commit 925ac7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/content-tab-import-export.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ const ImportSite = ( {
229229
const startLoadingCursorClassName =
230230
loadingServer[ selectedSite.id ] && 'animate-pulse duration-100 cursor-wait';
231231

232-
const isImporting = currentProgress?.progress < 100;
233-
const isImported = currentProgress?.progress === 100 && ! isDraggingOver;
232+
const isImporting = currentProgress?.progress < 100 && ! isThisSiteSyncing;
233+
const isImported = currentProgress?.progress === 100 && ! isDraggingOver && ! isThisSiteSyncing;
234234
const isInitial = ! isImporting && ! isImported;
235235
return (
236236
<div className={ cx( 'flex flex-col w-full', startLoadingCursorClassName ) }>

0 commit comments

Comments
 (0)