fix: move jan to not empty destination folder not functioning (#2464)

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
This commit is contained in:
NamH 2024-03-22 16:03:39 +07:00 committed by GitHub
parent a76c12766a
commit 419683d415
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,7 @@ const DataFolder = () => {
newDestChildren.filter((x) => x !== '.DS_Store').length > 0
if (isNotEmpty) {
setDestinationPath(destFolder)
showDestNotEmptyConfirm(true)
return
}