Revize b2d221fc
Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)
frontend/src/app/app.component.ts | ||
---|---|---|
1 |
import { Component, OnInit } from '@angular/core'; |
|
1 |
import {Component, OnInit} from '@angular/core'; |
|
2 |
import { registerLocaleData } from '@angular/common'; |
|
3 |
import localeCs from '@angular/common/locales/cs'; |
|
2 | 4 |
|
3 | 5 |
@Component({ |
4 | 6 |
selector: 'app-root', |
... | ... | |
7 | 9 |
}) |
8 | 10 |
export class AppComponent implements OnInit { |
9 | 11 |
|
10 |
menuItems = ['DASHBOARD', 'ZAMESTNANCI']; |
|
11 |
constructor() {} |
|
12 |
|
|
13 |
ngOnInit() { |
|
12 |
constructor() { |
|
13 |
registerLocaleData(localeCs); |
|
14 | 14 |
} |
15 |
|
|
16 |
ngOnInit() {} |
|
17 |
|
|
15 | 18 |
} |
Také k dispozici: Unified diff
Re #7263 Basic employer's dashboard completed