[frontend] Fix info page

This commit is contained in:
Cathy Hu 2020-09-08 21:11:15 +02:00
parent 9c011eff19
commit 52ceeb1742

View file

@ -1,6 +1,5 @@
import { Component, OnInit, Input } from '@angular/core'; import { Component, OnInit, Input } from '@angular/core';
import { MatDialog } from '@angular/material/dialog'; import { MatDialog } from '@angular/material/dialog';
import { PlatformsInfoDialogComponent } from './platforms-info-dialog/platforms-info-dialog.component';
@Component({ @Component({
selector: 'app-platforms-info-page', selector: 'app-platforms-info-page',
@ -13,8 +12,4 @@ export class PlatformsInfoPageComponent implements OnInit {
constructor(private dialog: MatDialog) {} constructor(private dialog: MatDialog) {}
ngOnInit(): void {} ngOnInit(): void {}
onInfoClick() {
this.dialog.open(PlatformsInfoDialogComponent);
}
} }