Skip to content

Commit

Permalink
Fix table expand
Browse files Browse the repository at this point in the history
  • Loading branch information
Severino committed Aug 7, 2024
1 parent 2c8599d commit 597eb8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions resources/js/components/AttributeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
:preview-data="previewData"
@change="updateDirtyState"
@update-selection="handleSelectionUpdate"
@expanded="e => onAttributeExpand(e, index)"
/>

<attribute-moderation-panel
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/attribute/Attribute.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
:value="state.value"
:attribute="data"
:preview-columns="preview ? previewData[data.id] : null"
@expanded="e => onAttributeExpand(e, index)"
@expanded="e => $emit('expanded', e)"
@change="updateDirtyState"
/>

Expand Down Expand Up @@ -350,7 +350,7 @@
default: _ => new Object(),
},
},
emits: ['change', 'update-selection'],
emits: ['expanded','change', 'update-selection'],
setup(props, context) {
const {
data,
Expand Down

0 comments on commit 597eb8d

Please sign in to comment.