chore: ui for designating survivor for shared vault & warning when no survivor (#2544)
This commit is contained in:
@@ -921,6 +921,7 @@ export class Dependencies {
|
||||
|
||||
this.factory.set(TYPES.SharedVaultService, () => {
|
||||
return new SharedVaultService(
|
||||
this.get<SyncService>(TYPES.SyncService),
|
||||
this.get<ItemManager>(TYPES.ItemManager),
|
||||
this.get<SessionManager>(TYPES.SessionManager),
|
||||
this.get<VaultUserService>(TYPES.VaultUserService),
|
||||
|
||||
@@ -44,9 +44,11 @@ export class VaultsContext extends AppContext {
|
||||
await this.awaitPromiseOrDoNothing(
|
||||
promise,
|
||||
1,
|
||||
'Waiting for notifications timed out. Notifications might have been processed in previous sync.'
|
||||
'Waiting for notifications timed out. Notifications might have been processed in previous sync.',
|
||||
)
|
||||
|
||||
await this.sync()
|
||||
|
||||
if (this.notifications['handleReceivedNotifications'].restore) {
|
||||
this.notifications['handleReceivedNotifications'].restore()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user