Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Fixed for console error in checkout #558

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.5] - ???

### Added
- Correct console errors when you select "Use my billing data" in checkout(#556)
- Added `VueObserveVisibility` and `VueLazyload` dependency

## [1.0.4] - 04.01.2020

### Added

### Changed / Improved
- Correct console errors when you select "Use my billing data" in checkout(#556)
- Improved spacing around product carousal on home page(#471)
- Improved navbar layout (#467)
- Improved heading in search panel (#478)
Expand Down
8 changes: 8 additions & 0 deletions components/organisms/o-payment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
:label="$t('Copy address data from shipping')"
/>
<SfCheckbox
v-if="currentUser"
v-model="sendToBillingAddress"
class="form__element form__checkbox"
name="sendToBillingAddress"
Expand Down Expand Up @@ -216,6 +217,13 @@ export default {
SfHeading,
SfCheckbox
},
computed: {
currentUser () {
if (this.$store.state.user.current) {
return this.$store.state.user.current
}
}
},
mixins: [Payment],
validations () {
const rules = {
Expand Down