Fix #49
This commit is contained in:
@@ -3,6 +3,7 @@ import { FormControl, PatternValidator, Validators } from '@angular/forms';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { ProfileService } from 'src/app/Services/profile.service';
|
||||
import { ConfirmationDialogComponent } from './confirmation-dialog/confirmation-dialog.component';
|
||||
import { HelpDialogComponent } from './help-dialog/help-dialog.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-profile',
|
||||
@@ -75,4 +76,11 @@ export class ProfileComponent implements OnInit {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
openHelp() {
|
||||
const dialogRef = this.dialog.open(HelpDialogComponent, {
|
||||
width: '50vw',
|
||||
height: '20vh',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user