Browse Source

Restoring access-table

pull/5278/head
David Requeno 3 weeks ago
parent
commit
cf0265a175
  1. 2
      libs/ui/src/lib/accounts-table/accounts-table.component.html
  2. 24
      libs/ui/src/lib/accounts-table/accounts-table.component.stories.ts
  3. 2
      libs/ui/src/lib/accounts-table/accounts-table.component.ts

2
libs/ui/src/lib/accounts-table/accounts-table.component.html

@ -353,4 +353,4 @@
width: '100%' width: '100%'
}" }"
/> />
} }

24
libs/ui/src/lib/accounts-table/accounts-table.component.stories.ts

@ -28,7 +28,11 @@ const mockAccounts = [
platform: { platform: {
name: 'Bank of America', name: 'Bank of America',
url: 'https://www.bankofamerica.com' url: 'https://www.bankofamerica.com'
} },
createdAt: new Date(),
updatedAt: new Date(),
platformId: 'bofa',
userId: 'user1'
}, },
{ {
id: '2', id: '2',
@ -44,7 +48,11 @@ const mockAccounts = [
platform: { platform: {
name: 'Interactive Brokers', name: 'Interactive Brokers',
url: 'https://www.interactivebrokers.com' url: 'https://www.interactivebrokers.com'
} },
createdAt: new Date(),
updatedAt: new Date(),
platformId: 'ibkr',
userId: 'user1'
}, },
{ {
id: '3', id: '3',
@ -60,7 +68,11 @@ const mockAccounts = [
platform: { platform: {
name: 'Deutsche Bank', name: 'Deutsche Bank',
url: 'https://www.deutsche-bank.de' url: 'https://www.deutsche-bank.de'
} },
createdAt: new Date(),
updatedAt: new Date(),
platformId: 'db',
userId: 'user1'
}, },
{ {
id: '4', id: '4',
@ -76,7 +88,11 @@ const mockAccounts = [
platform: { platform: {
name: 'Local Credit Union', name: 'Local Credit Union',
url: null url: null
} },
createdAt: new Date(),
updatedAt: new Date(),
platformId: 'lcu',
userId: 'user1'
} }
]; ];

2
libs/ui/src/lib/accounts-table/accounts-table.component.ts

@ -175,4 +175,4 @@ export class GfAccountsTableComponent implements OnChanges, OnDestroy {
this.unsubscribeSubject.next(); this.unsubscribeSubject.next();
this.unsubscribeSubject.complete(); this.unsubscribeSubject.complete();
} }
} }
Loading…
Cancel
Save