Update Angular dependencies to latest versions (#1366)
This commit is contained in:
+2
-2
@@ -31,7 +31,7 @@ import {UserService} from '../../user-management/user.service';
|
||||
export class EmailV2ProviderComponent implements OnInit {
|
||||
emailProviders: EmailProvider[] = [];
|
||||
editingProviderIds: number[] = [];
|
||||
ref: DynamicDialogRef | undefined;
|
||||
ref: DynamicDialogRef | undefined | null;
|
||||
private dialogService = inject(DialogService);
|
||||
private emailProvidersService = inject(EmailV2ProviderService);
|
||||
private messageService = inject(MessageService);
|
||||
@@ -130,7 +130,7 @@ export class EmailV2ProviderComponent implements OnInit {
|
||||
closable: true,
|
||||
style: {position: 'absolute', top: '15%'},
|
||||
});
|
||||
this.ref.onClose.subscribe((result) => {
|
||||
this.ref?.onClose.subscribe((result) => {
|
||||
if (result) {
|
||||
this.loadEmailProviders();
|
||||
}
|
||||
|
||||
+2
-2
@@ -28,7 +28,7 @@ import {CreateEmailRecipientDialogComponent} from '../create-email-recipient-dia
|
||||
export class EmailV2RecipientComponent implements OnInit {
|
||||
recipientEmails: EmailRecipient[] = [];
|
||||
editingRecipientIds: number[] = [];
|
||||
ref: DynamicDialogRef | undefined;
|
||||
ref: DynamicDialogRef | undefined | null;
|
||||
private dialogService = inject(DialogService);
|
||||
private emailRecipientService = inject(EmailV2RecipientService);
|
||||
private messageService = inject(MessageService);
|
||||
@@ -117,7 +117,7 @@ export class EmailV2RecipientComponent implements OnInit {
|
||||
closable: true,
|
||||
style: {position: 'absolute', top: '15%'},
|
||||
});
|
||||
this.ref.onClose.subscribe((result) => {
|
||||
this.ref?.onClose.subscribe((result) => {
|
||||
if (result) {
|
||||
this.loadRecipientEmails();
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ import {Tooltip} from 'primeng/tooltip';
|
||||
styleUrls: ['./user-management.component.scss'],
|
||||
})
|
||||
export class UserManagementComponent implements OnInit, OnDestroy {
|
||||
ref: DynamicDialogRef | undefined;
|
||||
ref: DynamicDialogRef | undefined | null;
|
||||
private dialogService = inject(DialogService);
|
||||
private userService = inject(UserService);
|
||||
private libraryService = inject(LibraryService);
|
||||
@@ -111,7 +111,7 @@ export class UserManagementComponent implements OnInit, OnDestroy {
|
||||
closable: true,
|
||||
style: {position: 'absolute', top: '15%'},
|
||||
});
|
||||
this.ref.onClose.subscribe((result) => {
|
||||
this.ref?.onClose.subscribe((result) => {
|
||||
if (result) {
|
||||
this.loadUsers();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user