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
1021 B
28 lines
1021 B
import { personalFinanceTools } from '@ghostfolio/common/personal-finance-tools';
|
|
import { publicRoutes, routes } from '@ghostfolio/common/routes/routes';
|
|
|
|
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',
|
|
standalone: false
|
|
})
|
|
export class PersonalFinanceToolsPageComponent implements OnDestroy {
|
|
public pathAlternativeTo = routes.openSourceAlternativeTo + '-';
|
|
public pathResources = publicRoutes.resources.path;
|
|
public personalFinanceTools = personalFinanceTools.sort((a, b) => {
|
|
return a.name.localeCompare(b.name, undefined, { sensitivity: 'base' });
|
|
});
|
|
public routerLinkAbout = publicRoutes.about.routerLink;
|
|
|
|
private unsubscribeSubject = new Subject<void>();
|
|
|
|
public ngOnDestroy() {
|
|
this.unsubscribeSubject.next();
|
|
this.unsubscribeSubject.complete();
|
|
}
|
|
}
|
|
|