update badge and menu on ciphers added/edited
This commit is contained in:
parent
68629bde57
commit
74e150116e
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit af4e01c238b88ac296edfbf300a180e956da7d4b
|
Subproject commit fc5fcb905fe465e99e85540f6b645c0f11b6704d
|
|
@ -135,6 +135,8 @@ export default class RuntimeBackground {
|
||||||
await this.saveNever(sender.tab);
|
await this.saveNever(sender.tab);
|
||||||
break;
|
break;
|
||||||
case 'bgUpdateContextMenu':
|
case 'bgUpdateContextMenu':
|
||||||
|
case 'editedCipher':
|
||||||
|
case 'addedCipher':
|
||||||
await this.main.refreshBadgeAndMenu();
|
await this.main.refreshBadgeAndMenu();
|
||||||
break;
|
break;
|
||||||
case 'bgReseedStorage':
|
case 'bgReseedStorage':
|
||||||
|
|
|
@ -10,6 +10,7 @@ import { CipherService } from 'jslib/abstractions/cipher.service';
|
||||||
import { CollectionService } from 'jslib/abstractions/collection.service';
|
import { CollectionService } from 'jslib/abstractions/collection.service';
|
||||||
import { FolderService } from 'jslib/abstractions/folder.service';
|
import { FolderService } from 'jslib/abstractions/folder.service';
|
||||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||||
|
import { MessagingService } from 'jslib/abstractions/messaging.service';
|
||||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
import { StateService } from 'jslib/abstractions/state.service';
|
import { StateService } from 'jslib/abstractions/state.service';
|
||||||
import { UserService } from 'jslib/abstractions/user.service';
|
import { UserService } from 'jslib/abstractions/user.service';
|
||||||
|
@ -27,10 +28,10 @@ export class AddEditComponent extends BaseAddEditComponent {
|
||||||
i18nService: I18nService, platformUtilsService: PlatformUtilsService,
|
i18nService: I18nService, platformUtilsService: PlatformUtilsService,
|
||||||
auditService: AuditService, stateService: StateService,
|
auditService: AuditService, stateService: StateService,
|
||||||
userService: UserService, collectionService: CollectionService,
|
userService: UserService, collectionService: CollectionService,
|
||||||
private route: ActivatedRoute, private router: Router,
|
messagingService: MessagingService, private route: ActivatedRoute,
|
||||||
private location: Location) {
|
private router: Router, private location: Location) {
|
||||||
super(cipherService, folderService, i18nService, platformUtilsService, auditService, stateService,
|
super(cipherService, folderService, i18nService, platformUtilsService, auditService, stateService,
|
||||||
userService, collectionService);
|
userService, collectionService, messagingService);
|
||||||
}
|
}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
|
|
Loading…
Reference in New Issue