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
This reverts commit fbb1598.
  • Loading branch information
Frodigo authored Jan 17, 2022
1 parent 34e2f2f commit 450eb1c
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 @@ -125,9 +125,7 @@ export default {
],
defaultLocale: 'default',
autoChangeCookie: {
currency: false,
locale: false,
country: false,
},
lazy: true,
seo: true,
Expand Down

0 comments on commit 450eb1c

Please sign in to comment.