Describe the bug
When attempting to import files into IPFS, an import notification appears indicating success. However, if the import encounters an error, the system still shows "0 files imported", which is misleading and confusing for the user.
To Reproduce
Steps to reproduce the behavior:
- Go to the IPFS import interface.
- Click on the FROM IPFS button.
- Observe the import notification and the imported file count.
Expected behavior
The notification should accurately reflect the import status:
- If the import fails, it should indicate an error.
- The imported file count should not display as 0 files imported if there was a failure.
Screenshots

Desktop (please complete the following information)
- OS: Ubuntu 22.04
- Browser: Chrome
Describe the bug
When attempting to import files into IPFS, an import notification appears indicating success. However, if the import encounters an error, the system still shows "0 files imported", which is misleading and confusing for the user.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The notification should accurately reflect the import status:
Screenshots
Desktop (please complete the following information)