diff options
Diffstat (limited to 'src/site/components/album')
| -rw-r--r-- | src/site/components/album/AlbumDetails.vue | 12 | ||||
| -rw-r--r-- | src/site/components/album/AlbumEntry.vue | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/site/components/album/AlbumDetails.vue b/src/site/components/album/AlbumDetails.vue index 4067853..f81e257 100644 --- a/src/site/components/album/AlbumDetails.vue +++ b/src/site/components/album/AlbumDetails.vue @@ -119,12 +119,12 @@ import { mapState, mapActions } from 'vuex'; export default { props: { albumId: { - type: Number, - default: 0 + 'type': Number, + 'default': 0 }, details: { - type: Object, - default: () => ({}) + 'type': Object, + 'default': () => ({}) } }, data() { @@ -175,7 +175,7 @@ export default { } catch (e) { this.alert({ text: e.message, error: true }); } finally { - this.isDeletingLinks = this.isDeletingLinks.filter((e) => e !== identifier); + this.isDeletingLinks = this.isDeletingLinks.filter(e => e !== identifier); } }, async createLink(albumId) { @@ -207,7 +207,7 @@ export default { maxlength: 10 }, trapFocus: true, - onConfirm: (value) => this.$handler.executeAction('albums/createCustomLink', { albumId, value }) + onConfirm: value => this.$handler.executeAction('albums/createCustomLink', { albumId, value }) }); }, isDeleting(identifier) { diff --git a/src/site/components/album/AlbumEntry.vue b/src/site/components/album/AlbumEntry.vue index 1e1b2cf..18633c4 100644 --- a/src/site/components/album/AlbumEntry.vue +++ b/src/site/components/album/AlbumEntry.vue @@ -53,7 +53,7 @@ <AlbumDetails v-if="isExpanded" :details="getDetails(album.id)" - :albumId="album.id" /> + :album-id="album.id" /> </div> </template> @@ -67,8 +67,8 @@ export default { }, props: { album: { - type: Object, - default: () => ({}) + 'type': Object, + 'default': () => ({}) } }, computed: { |