Browse Source

Merge remote-tracking branch 'origin/main' into feature/extend-public-portfolio

pull/5538/head
David Requeno 1 month ago
parent
commit
35fbad9082
  1. 2
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts
  2. 7
      apps/client/src/assets/oss-friends.json
  3. 4
      libs/common/src/lib/permissions.ts

2
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts

@ -7,7 +7,6 @@ import { UserService } from '@ghostfolio/client/services/user/user.service';
import { validateObjectForForm } from '@ghostfolio/client/util/form.util';
import {
ASSET_CLASS_MAPPING,
ghostfolioScraperApiSymbolPrefix,
PROPERTY_IS_DATA_GATHERING_ENABLED
} from '@ghostfolio/common/config';
import { DATE_FORMAT } from '@ghostfolio/common/helper';
@ -184,7 +183,6 @@ export class GfAssetProfileDialogComponent implements OnDestroy, OnInit {
};
public currencies: string[] = [];
public ghostfolioScraperApiSymbolPrefix = ghostfolioScraperApiSymbolPrefix;
public historicalDataItems: LineChartItem[];
public isBenchmark = false;
public isDataGatheringEnabled: boolean;

7
apps/client/src/assets/oss-friends.json

@ -1,5 +1,5 @@
{
"createdAt": "2025-07-28T00:00:00.000Z",
"createdAt": "2025-09-17T00:00:00.000Z",
"data": [
{
"name": "Activepieces",
@ -21,6 +21,11 @@
"description": "Cal.com is a scheduling tool that helps you schedule meetings without the back-and-forth emails.",
"href": "https://cal.com"
},
{
"name": "Cap",
"description": "Cap is the open source alternative to Loom. Lightweight, powerful, and cross-platform. Record and share securely in seconds.",
"href": "https://cap.so"
},
{
"name": "ClassroomIO.com",
"description": "ClassroomIO is a no-code tool that allows you build and scale your own teaching platform with ease.",

4
libs/common/src/lib/permissions.ts

@ -197,5 +197,9 @@ export function hasRole(aUser: UserWithSettings, aRole: Role) {
}
export function isRestrictedView(aUser: UserWithSettings) {
if (!aUser) {
return true;
}
return aUser?.settings?.settings?.isRestrictedView ?? false;
}

Loading…
Cancel
Save