Skip to content

Commit

Permalink
fix: re-add public
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed Dec 10, 2023
1 parent b17bc09 commit 02bbdf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/alert-table-entry/alert-table-entry.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { RemoveAlertDialogComponent } from '../remove-alert-dialog/remove-alert-
export class AlertTableEntryComponent {
@Input({ required: true }) alert!: Alert;

constructor(private alertService: AlertService, dialog: Dialog) {}
constructor(private alertService: AlertService, public dialog: Dialog) {}

removeAlert(title: string) {
const dialogRef = this.dialog.open<string>(RemoveAlertDialogComponent, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ import { Component, Inject, inject } from '@angular/core';
export class RemoveAlertDialogComponent {
data: { title: string } = inject(DIALOG_DATA)
constructor(
dialogRef: DialogRef<boolean>,
public dialogRef: DialogRef<boolean>,
) {}
}

0 comments on commit 02bbdf7

Please sign in to comment.