Skip to content

Commit

Permalink
adding integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Schantz authored and Sam Schantz committed Apr 26, 2024
1 parent d8251b9 commit 72df0f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 37 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="flex flex-col justify-center bg-white shadow-sm">
<div v-for="account in accounts">
<div :key="account.id" class="items-center h-[52px] flex flex-row justify-space-between w-full mx-[32px] my-[24px]">
<div class="flex flex-col justify-center mb-[32px]">
<div v-for="account in accounts" class="bg-white shadow-md">

Check failure on line 3 in strr-web/components/bcros/existing-accounts-list/ExistingAccountsList.vue

View workflow job for this annotation

GitHub Actions / strr-ui-ci / linting (ubuntu-latest, 20, 8)

Elements in iteration expect to have 'v-bind:key' directives
<div :key="account.id" class="items-center h-[52px] flex flex-row justify-space-between mx-[32px] my-[24px] border-b border-bcGovColor-hairlinesOnWhite">

Check warning on line 4 in strr-web/components/bcros/existing-accounts-list/ExistingAccountsList.vue

View workflow job for this annotation

GitHub Actions / strr-ui-ci / linting (ubuntu-latest, 20, 8)

This line has a length of 159. Maximum allowed is 120
<div><BcrosLetterIcon letter="E" /></div>
<div class="grow pl-[20px]">
<div class="text-[18px] font-bold">
Expand Down
37 changes: 3 additions & 34 deletions strr-web/pages/account-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{{ t('account.existing-account-warning') }}
</BcrosAlertsMessage>
<BcrosTypographyH2 text="account.existing-account-section.title" data-cy="accountPageAccountSectionTitle" />
<span class="text-[16px]">{{ t('account.existing-account-section.sub-title') }}</span>
<BcrosExistingAccountsList :accounts="mockExistingAccountsData" />
<span class="text-[16px] mb-[20px] block">{{ t('account.existing-account-section.sub-title') }}</span>
<BcrosExistingAccountsList :accounts="userAccounts" />
</div>
</template>

Expand All @@ -17,37 +17,6 @@ const t = useNuxtApp().$i18n.t
const alertFlavour: AlertsFlavourE = AlertsFlavourE.INFO
const mockExistingAccountsData: AccountI[] = [
{
id: 'ID',
accountType: AccountTypeE.BASIC,
accountStatus: AccountStatusE.ACTIVE,
label: 'Existing Account Name',
type: UserSettingsTypeE.ACCOUNT,
urlpath: 'URLPATH',
urlorigin: 'URLORIGIN',
address: '123456 Temporary St, Parksville, BC V8V 8V8, Canada'
},
{
id: 'ID',
accountType: AccountTypeE.BASIC,
accountStatus: AccountStatusE.ACTIVE,
label: 'Existing Account Name 2',
type: UserSettingsTypeE.ACCOUNT,
urlpath: 'URLPATH',
urlorigin: 'URLORIGIN',
address: '123456 Temporary St, Parksville, BC V8V 8V8, Canada'
},
{
id: 'ID',
accountType: AccountTypeE.BASIC,
accountStatus: AccountStatusE.ACTIVE,
label: 'Zang & Associates',
type: UserSettingsTypeE.ACCOUNT,
urlpath: 'URLPATH',
urlorigin: 'URLORIGIN',
address: '-'
}
]
const { userAccounts } = useBcrosAccount();
</script>

0 comments on commit 72df0f6

Please sign in to comment.