Skip to content

Commit

Permalink
refactor(Slideover): Rename state to instance
Browse files Browse the repository at this point in the history
  • Loading branch information
genu committed May 8, 2024
1 parent b3ede0e commit 117059b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/runtime/components/overlays/Slideovers.client.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<template>
<component
:is="slideoverState.component"
v-for="(slideoverState, index) in slideoverInstances"
:is="slideoverInstance.component"
v-for="(slideoverInstance, index) in slideoverInstances"
:key="index"
v-bind="slideoverState.props"
:model-value="slideoverState.isOpen"
@after-leave="reset(slideoverState.id)"
v-bind="slideoverInstance.props"
:model-value="slideoverInstance.isOpen"
@after-leave="reset(slideoverInstance.id)"
/>
</template>

Expand Down

0 comments on commit 117059b

Please sign in to comment.