mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
967 B
28 lines
967 B
import { personalFinanceTools } from '@ghostfolio/common/personal-finance-tools';
|
|
|
|
import { Component, OnDestroy } from '@angular/core';
|
|
import { Subject } from 'rxjs';
|
|
|
|
@Component({
|
|
host: { class: 'page' },
|
|
selector: 'gf-personal-finance-tools-page',
|
|
styleUrls: ['./personal-finance-tools-page.scss'],
|
|
templateUrl: './personal-finance-tools-page.html'
|
|
})
|
|
export class PersonalFinanceToolsPageComponent implements OnDestroy {
|
|
public pathAlternativeTo = $localize`open-source-alternative-to` + '-';
|
|
public pathResources = '/' + $localize`resources`;
|
|
public personalFinanceTools = personalFinanceTools.sort((a, b) => {
|
|
return a.name.localeCompare(b.name, undefined, { sensitivity: 'base' });
|
|
});
|
|
public routerLinkAbout = ['/' + $localize`:snake-case:about`];
|
|
|
|
private unsubscribeSubject = new Subject<void>();
|
|
|
|
public constructor() {}
|
|
|
|
public ngOnDestroy() {
|
|
this.unsubscribeSubject.next();
|
|
this.unsubscribeSubject.complete();
|
|
}
|
|
}
|
|
|