[UI]Uploads follow directory change


Seafile Server Version: 7.0.5 - Odroid

Folder structure example:

|- FolderB

I was uploading files to FolderB. Then clicked on FolderA.

Files were displayed in the FolderA. But upload was initiated in FolderB.
No impact on the backend: files were correctly saved in FolderB.

Expected behaviour
Uploaded files should not appear in the current folder, unless the folder is where the upload is originated.

Hope it is clear