Skip to content

Commit

Permalink
Revert "refactor(theme): enables currency switcher on TopBar.vue (#421)…
Browse files Browse the repository at this point in the history
…" (#426)

This reverts commit fbb1598.
  • Loading branch information
Frodigo committed Feb 24, 2022
1 parent faaffd8 commit a034bb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 9 additions & 3 deletions packages/theme/components/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,26 @@
</SfButton>
</template>
<template #right>
<CurrencySelector />
<!--
/**
* The currency switch is commented, until the Core package
* enables the switch of currency without returning to the browser one with i18n
*/
<CurrencySelector />
-->
<StoreSwitcher />
</template>
</SfTopBar>
</template>

<script>
import { SfButton, SfTopBar } from '@storefront-ui/vue';
import CurrencySelector from './CurrencySelector';
// import CurrencySelector from './CurrencySelector';
import StoreSwitcher from './StoreSwitcher';
export default {
components: {
CurrencySelector,
// CurrencySelector,
SfTopBar,
SfButton,
StoreSwitcher,
Expand Down
2 changes: 0 additions & 2 deletions packages/theme/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ export default {
],
defaultLocale: 'default',
autoChangeCookie: {
currency: false,
locale: false,
country: false,
},
lazy: true,
seo: true,
Expand Down

0 comments on commit a034bb1

Please sign in to comment.