diff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.html b/apps/client/src/app/components/accounts-table/accounts-table.component.html
index cd4f139c4..241b5d90a 100644
--- a/apps/client/src/app/components/accounts-table/accounts-table.component.html
+++ b/apps/client/src/app/components/accounts-table/accounts-table.component.html
@@ -34,7 +34,7 @@
Name
-
- Url
@if (assetProfileForm.controls['url'].value) {
- Name
- Url
@if (data.platform.url) {
-
+
}
diff --git a/apps/client/src/app/components/admin-platform/create-or-update-platform-dialog/create-or-update-platform-dialog.module.ts b/apps/client/src/app/components/admin-platform/create-or-update-platform-dialog/create-or-update-platform-dialog.module.ts
index 1b7c0bd8f..ac97e57cf 100644
--- a/apps/client/src/app/components/admin-platform/create-or-update-platform-dialog/create-or-update-platform-dialog.module.ts
+++ b/apps/client/src/app/components/admin-platform/create-or-update-platform-dialog/create-or-update-platform-dialog.module.ts
@@ -1,4 +1,4 @@
-import { GfSymbolIconModule } from '@ghostfolio/client/components/symbol-icon/symbol-icon.module';
+import { GfAssetProfileIconComponent } from '@ghostfolio/client/components/asset-profile-icon/asset-profile-icon.component';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
@@ -14,7 +14,7 @@ import { CreateOrUpdatePlatformDialog } from './create-or-update-platform-dialog
declarations: [CreateOrUpdatePlatformDialog],
imports: [
CommonModule,
- GfSymbolIconModule,
+ GfAssetProfileIconComponent,
FormsModule,
MatButtonModule,
MatDialogModule,
diff --git a/apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.html b/apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.html
new file mode 100644
index 000000000..f0abad285
--- /dev/null
+++ b/apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.html
@@ -0,0 +1,8 @@
+@if (src) {
+
+}
diff --git a/apps/client/src/app/components/symbol-icon/symbol-icon.component.scss b/apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.scss
similarity index 100%
rename from apps/client/src/app/components/symbol-icon/symbol-icon.component.scss
rename to apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.scss
diff --git a/apps/client/src/app/components/symbol-icon/symbol-icon.component.ts b/apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.ts
similarity index 63%
rename from apps/client/src/app/components/symbol-icon/symbol-icon.component.ts
rename to apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.ts
index a6fa0901a..4d96ef83f 100644
--- a/apps/client/src/app/components/symbol-icon/symbol-icon.component.ts
+++ b/apps/client/src/app/components/asset-profile-icon/asset-profile-icon.component.ts
@@ -1,4 +1,6 @@
+import { CommonModule } from '@angular/common';
import {
+ CUSTOM_ELEMENTS_SCHEMA,
ChangeDetectionStrategy,
Component,
Input,
@@ -7,12 +9,15 @@ import {
import { DataSource } from '@prisma/client';
@Component({
- selector: 'gf-symbol-icon',
changeDetection: ChangeDetectionStrategy.OnPush,
- templateUrl: './symbol-icon.component.html',
- styleUrls: ['./symbol-icon.component.scss']
+ imports: [CommonModule],
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
+ selector: 'gf-asset-profile-icon',
+ standalone: true,
+ styleUrls: ['./asset-profile-icon.component.scss'],
+ templateUrl: './asset-profile-icon.component.html'
})
-export class SymbolIconComponent implements OnChanges {
+export class GfAssetProfileIconComponent implements OnChanges {
@Input() dataSource: DataSource;
@Input() size: 'large';
@Input() symbol: string;
diff --git a/apps/client/src/app/components/symbol-icon/symbol-icon.component.html b/apps/client/src/app/components/symbol-icon/symbol-icon.component.html
deleted file mode 100644
index 0aebd0e5b..000000000
--- a/apps/client/src/app/components/symbol-icon/symbol-icon.component.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
diff --git a/apps/client/src/app/components/symbol-icon/symbol-icon.module.ts b/apps/client/src/app/components/symbol-icon/symbol-icon.module.ts
deleted file mode 100644
index 8eee9ef0c..000000000
--- a/apps/client/src/app/components/symbol-icon/symbol-icon.module.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { CommonModule } from '@angular/common';
-import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
-
-import { SymbolIconComponent } from './symbol-icon.component';
-
-@NgModule({
- declarations: [SymbolIconComponent],
- exports: [SymbolIconComponent],
- imports: [CommonModule],
- schemas: [CUSTOM_ELEMENTS_SCHEMA]
-})
-export class GfSymbolIconModule {}
diff --git a/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html b/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html
index 9ff61d0c2..e2981462f 100644
--- a/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html
+++ b/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html
@@ -61,7 +61,7 @@
) {
-
-
-
-
|
-
@if (element.Account?.Platform?.url) {
-
-
|
- | | | | |