Skip to content

Commit fec7331

Browse files
Alexander DevitskyFrodigo
authored andcommitted
fix(theme): [Category] Save for later button should be hidden for guest user
1 parent 8434082 commit fec7331

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/theme/pages/Category.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
</template>
254254
<template #actions>
255255
<SfButton
256+
v-if="isAuthenticated"
256257
class="sf-button--text products__product-card-horizontal__add-to-wishlist"
257258
@click="addItemToWishlist(product)"
258259
>
@@ -412,6 +413,7 @@ import {
412413
SfAccordion,
413414
SfSelect,
414415
SfBreadcrumbs,
416+
SfLink,
415417
SfLoader,
416418
SfColor,
417419
SfProperty,
@@ -458,6 +460,7 @@ export default defineComponent({
458460
SfColor,
459461
SfHeading,
460462
SfProperty,
463+
SfLink,
461464
LazyHydrate,
462465
},
463466
middleware: cacheControl({

0 commit comments

Comments
 (0)