Skip to content

Commit

Permalink
#74
Browse files Browse the repository at this point in the history
- fixed custom property event
  • Loading branch information
ebess committed Apr 25, 2019
1 parent bcafa7f commit 9897a60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/SingleFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<span class="label">
{{ image.file_name }}
</span>
<a v-if="isCustomPropertiesEditable" class="edit edit--file ml-2" href="#" @click.prevent="$emit('editCustomProperties')">
<a v-if="isCustomPropertiesEditable" class="edit edit--file ml-2" href="#" @click.prevent="$emit('edit-custom-properties')">
<icon type="edit" view-box="0 0 20 20" width="16" height="16" />
</a>
<a v-if="removable" class="delete ml-2" href="#" @click.prevent="$emit('remove')">
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/SingleMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a v-if="removable" class="icon delete" href="#" @click.prevent="$emit('remove')" title="Remove">
<icon type="delete" view-box="0 0 20 20" width="16" height="16"/>
</a>
<a v-if="isCustomPropertiesEditable" class="icon edit" href="#" @click.prevent="$emit('editCustomProperties')" title="Edit custom properties">
<a v-if="isCustomPropertiesEditable" class="icon edit" href="#" @click.prevent="$emit('edit-custom-properties')" title="Edit custom properties">
<icon type="edit" view-box="0 0 20 20" width="16" height="16"/>
</a>
<a class="preview" href="#" @click.prevent="showPreview">
Expand Down

0 comments on commit 9897a60

Please sign in to comment.