Skip to content

Commit dcfa907

Browse files
author
Marcin Kwiatkowski
committed
Revert "refactor(theme): enables currency switcher on TopBar.vue (#421)" (#426)
This reverts commit fbb1598.
1 parent 818fc80 commit dcfa907

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

packages/theme/components/TopBar.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,26 @@
1212
</SfButton>
1313
</template>
1414
<template #right>
15-
<CurrencySelector />
15+
<!--
16+
/**
17+
* The currency switch is commented, until the Core package
18+
* enables the switch of currency without returning to the browser one with i18n
19+
*/
20+
<CurrencySelector />
21+
-->
1622
<StoreSwitcher />
1723
</template>
1824
</SfTopBar>
1925
</template>
2026

2127
<script>
2228
import { SfButton, SfTopBar } from '@storefront-ui/vue';
23-
import CurrencySelector from './CurrencySelector';
29+
// import CurrencySelector from './CurrencySelector';
2430
import StoreSwitcher from './StoreSwitcher';
2531
2632
export default {
2733
components: {
28-
CurrencySelector,
34+
// CurrencySelector,
2935
SfTopBar,
3036
SfButton,
3137
StoreSwitcher,

packages/theme/nuxt.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ export default {
159159
],
160160
defaultLocale: 'default',
161161
autoChangeCookie: {
162-
currency: false,
163162
locale: false,
164-
country: false,
165163
},
166164
lazy: true,
167165
seo: true,

0 commit comments

Comments
 (0)