1
0
mirror of https://github.com/bitwarden/web synced 2025-12-22 19:23:42 +00:00

Improve import error messages (#841)

* Display server import errors in modal

* Fix UI text and modal appearance

* Fix loading spinner behaviour

* Fix linting

* Update jslib version
This commit is contained in:
Thomas Rittson
2021-02-24 05:48:30 +10:00
committed by GitHub
parent a975f6df2b
commit 85856d8390
6 changed files with 46 additions and 9 deletions

View File

@@ -128,7 +128,8 @@ const authService = new AuthService(cryptoService, apiService,
userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService, vaultTimeoutService,
consoleLogService);
const exportService = new ExportService(folderService, cipherService, apiService);
const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService);
const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService,
platformUtilsService);
const notificationsService = new NotificationsService(userService, syncService, appIdService,
apiService, vaultTimeoutService, async () => messagingService.send('logout', { expired: true }), consoleLogService);
const environmentService = new EnvironmentService(apiService, storageService, notificationsService);