26 lines
471 B
TypeScript
26 lines
471 B
TypeScript
|
|
import { Component, OnInit } from '@angular/core';
|
||
|
|
|
||
|
|
@Component({
|
||
|
|
selector: 'app-judge-editor',
|
||
|
|
templateUrl: './judge-editor.component.html',
|
||
|
|
styleUrls: ['./judge-editor.component.css']
|
||
|
|
})
|
||
|
|
export class JudgeEditorComponent implements OnInit {
|
||
|
|
|
||
|
|
public displayedColumns = ['year', 'title'];
|
||
|
|
public judge = {
|
||
|
|
yearlyData: [
|
||
|
|
{
|
||
|
|
year: 2013,
|
||
|
|
title: 'Something something dark side',
|
||
|
|
}
|
||
|
|
]
|
||
|
|
};
|
||
|
|
|
||
|
|
constructor() {}
|
||
|
|
|
||
|
|
ngOnInit() {
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|