Skip to content

Commit

Permalink
lint: fix vue
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Apr 7, 2024
1 parent 7472651 commit 7f8908c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/modal/AlbumsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default defineComponent({
};
},
toCoverUrl(album: IAlbum): string | null {
toCoverUrl(album: IAlbum): string | undefined {
// See Cluster.vue for the original implementation
const preview = (fileid: number, etag: string | number) =>
utils.getPreviewUrl({
Expand All @@ -103,7 +103,7 @@ export default defineComponent({
return preview(album.last_added_photo, album.last_added_photo_etag ?? album.album_id);
}
return null;
return undefined;
},
getSubtitle(album: IAlbum) {
Expand Down

0 comments on commit 7f8908c

Please sign in to comment.