We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4454d54 commit 1f3377dCopy full SHA for 1f3377d
src/app/api/types/pool/pool-config.ts
@@ -1,6 +1,8 @@
1
export interface Notice {
2
date: string
3
- text: string
+ text: {
4
+ en: string
5
+ }
6
}
7
8
export interface PoolConfig {
src/app/dashboard/dashboard.component.ts
@@ -37,7 +37,7 @@ export class DashboardComponent {
37
return this.noticesInTheLastWeekOrLess.length > 0
38
39
40
- getTranslatedNoticeText(notice) {
+ public getTranslatedNoticeText(notice: Notice): string {
41
return notice.text.en
42
43
0 commit comments