Skip to content

Commit

Permalink
fix: product accordions (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
doproiescu-plenty authored Jan 14, 2025
1 parent aa29658 commit 49c381a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/components/ui/AccordionItem/AccordionItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<slot name="summary">
<p>{{ summary }}</p>
</slot>
<SfIconChevronLeft :class="['text-neutral-500', modelValue ? 'rotate-90' : '-rotate-90']" />
<SfIconChevronLeft :class="['text-neutral-500', internalModelValue ? 'rotate-90' : '-rotate-90']" />
</template>
<div class="py-2 px-4">
<slot />
Expand All @@ -18,7 +18,7 @@ import { useVModel } from '@vueuse/core';
import type { AccordionItemProps } from '~/components/ui/AccordionItem/types';
const props = defineProps<AccordionItemProps>();
const { modelValue = false, summary = '', summaryClass = '' } = props;
const { summary = '', summaryClass = '' } = props;
const emit = defineEmits(['update:modelValue']);
const internalModelValue = useVModel(props, 'modelValue', emit, { passive: true });
Expand Down
1 change: 1 addition & 0 deletions docs/changelog/changelog_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- Fixed product gallery thumbnail image alternate.
- Saving button is now disabled if there are no changes made to the JSON or if the JSON is invalid.
- The homepage now has the new version of the carousel
- Fixed product accordions arrow display.

## v1.8.0 (2024-12-13) <a href="https://github.com/plentymarkets/plentyshop-pwa/compare/v1.7.0...v1.8.0" target="_blank" rel="noopener"><b>Overview of all changes</b></a>

Expand Down

0 comments on commit 49c381a

Please sign in to comment.