Skip to content
Merged
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
12 changes: 3 additions & 9 deletions packages/theme/components/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,20 @@
</SfButton>
</template>
<template #right>
<!--
/**
* The currency switch is commented, until the Core package
* enables the switch of currency without returning to the browser one with i18n
*/
<CurrencySelector />
-->
<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: 2 additions & 0 deletions packages/theme/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ export default {
],
defaultLocale: 'default',
autoChangeCookie: {
currency: false,
locale: false,
country: false,
},
lazy: true,
seo: true,
Expand Down