diff options
| author | Zephyrrus <[email protected]> | 2020-12-24 10:40:50 +0200 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-12-24 10:40:50 +0200 |
| commit | 90001c2df56d58e69fd199a518ae7f3e4ed327fc (patch) | |
| tree | ac601537b5f464a1b03b084e5139e460f42e3473 /src/site/components/image-modal/AlbumInfo.vue | |
| parent | chore: update lock files (diff) | |
| download | host.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.tar.xz host.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.zip | |
chore: remove trailing commas
Diffstat (limited to 'src/site/components/image-modal/AlbumInfo.vue')
| -rw-r--r-- | src/site/components/image-modal/AlbumInfo.vue | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/site/components/image-modal/AlbumInfo.vue b/src/site/components/image-modal/AlbumInfo.vue index 8974a11..17c375a 100644 --- a/src/site/components/image-modal/AlbumInfo.vue +++ b/src/site/components/image-modal/AlbumInfo.vue @@ -31,21 +31,21 @@ export default { props: { imageId: { type: Number, - default: 0, + default: 0 }, imageAlbums: { type: Array, - default: () => [], + default: () => [] }, albums: { type: Array, - default: () => [], - }, + default: () => [] + } }, data() { return { selectedOptions: [], - orderedAlbums: [], + orderedAlbums: [] }; }, created() { @@ -65,7 +65,7 @@ export default { return selectedA ? -1 : 1; } return a.name.localeCompare(b.name); - }, + } ); }, isAlbumSelected(id) { @@ -78,15 +78,15 @@ export default { if (this.selectedOptions.indexOf(id) > -1) { this.$handler.executeAction('images/addToAlbum', { albumId: id, - fileId: this.imageId, + fileId: this.imageId }); } else { this.$handler.executeAction('images/removeFromAlbum', { albumId: id, - fileId: this.imageId, + fileId: this.imageId }); } - }, - }, + } + } }; </script> |