From cf5132ac6187792517e4b70d8a3d69baf2938ccb Mon Sep 17 00:00:00 2001 From: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> Date: Wed, 8 Oct 2025 00:12:05 +0530 Subject: [PATCH] Suggested changes --- CHANGELOG.md | 3 +-- .../accounts-table.component.stories.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a590d9ed3..bbb4bb494 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,14 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Unreleased -- Extend Storybook stories of accounts table component by loading state story - ### Changed - Restricted the selection of the retirement date picker in the _FIRE_ calculator to a future date - Improved the support for mutual funds in the _Financial Modeling Prep_ service (get asset profiles) - Improved the language localization for German (`de`) - Upgraded `prisma` from version `6.16.1` to `6.16.3` +- Extended the Storybook stories of accounts table component by loading state story ## 2.204.0 - 2025-09-30 diff --git a/libs/ui/src/lib/accounts-table/accounts-table.component.stories.ts b/libs/ui/src/lib/accounts-table/accounts-table.component.stories.ts index a6a39987f..de8772e01 100644 --- a/libs/ui/src/lib/accounts-table/accounts-table.component.stories.ts +++ b/libs/ui/src/lib/accounts-table/accounts-table.component.stories.ts @@ -107,9 +107,9 @@ export default { type Story = StoryObj; -export const Default: Story = { +export const Loading: Story = { args: { - accounts, + accounts: undefined, baseCurrency: 'USD', deviceType: 'desktop', locale: 'en-US', @@ -120,15 +120,15 @@ export const Default: Story = { showTransactions: true, showValue: true, showValueInBaseCurrency: true, - totalBalanceInBaseCurrency: 12428.2, - totalValueInBaseCurrency: 107971.70321466809, - transactionCount: 12 + totalBalanceInBaseCurrency: 0, + totalValueInBaseCurrency: 0, + transactionCount: 0 } }; -export const Loading: Story = { +export const Default: Story = { args: { - accounts: undefined, + accounts, baseCurrency: 'USD', deviceType: 'desktop', locale: 'en-US',