Skip to content

Commit

Permalink
wip fix after lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VachetVirginie committed Jul 24, 2024
1 parent 22f4725 commit 027e8fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/synapse-bridge/src/elements/DataList/DataList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default defineComponent({
</slot>

<ul v-if="items.length">
<DataListItem
<DataListItem
v-for="(item, index) in items"
:key="index"
:label="item.key"
Expand All @@ -118,7 +118,7 @@ export default defineComponent({
:vuetify-options="item.options"
:class="getItemClass(index, item.class)"
class="vd-data-list-item text-body-1"
@click:action="$emit('click:item-action', index)"
@click:action="$emit('click:item-action', index)"
/>
</ul>
</div>
Expand Down
6 changes: 3 additions & 3 deletions packages/synapse-bridge/src/elements/FileList/FileList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default defineComponent({
default: locales.optional,
},
},
emits: ["delete-file", "retry", "upload", "view-file"],
emits: ["deleteFile", "retry", "upload", "viewFile"],
data() {
return {
locales,
Expand Down Expand Up @@ -206,7 +206,7 @@ export default defineComponent({
"
v-bind="options.viewFileBtn"
:aria-label="locales.viewFile"
@click="$emit('view-file', file)"
@click="$emit('viewFile', file)"
>
<VIcon v-bind="options.icon" :color="iconColor">
{{ eyeIcon }}
Expand All @@ -216,7 +216,7 @@ export default defineComponent({
<VBtn
v-if="shouldDisplayDeleteBtn(file)"
v-bind="options.deleteFileBtn"
@click="$emit('delete-file', index)"
@click="$emit('deleteFile', index)"
>
<VIcon v-bind="options.icon" :color="iconColor">
{{ deleteIcon }}
Expand Down

0 comments on commit 027e8fc

Please sign in to comment.