Skip to content

Commit

Permalink
- FIX: Parent album id issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-raubach committed Jul 15, 2024
1 parent e7019cf commit b3c7ec1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/views/Favorites.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
},
methods: {
getImages: function (params) {
const p = Object.assign({}, params, { isFav: true, albumId: -1 })
const p = Object.assign({}, params, { isFav: true })
return apiPostImages(p)
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/ImageStream.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export default {
},
methods: {
getImages: function (params) {
const adjusted = Object.assign({}, params, { albumId: -1 })
const adjusted = Object.assign({}, params, {})
return apiPostImages(adjusted)
},
getIds: function (params) {
const adjusted = Object.assign({}, params, { albumId: -1 })
const adjusted = Object.assign({}, params, {})
return apiPostImageIds(adjusted)
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/StatisticsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
}
},
watch: {
selectedYear: function (){
selectedYear: function () {
this.getImageCounts()
}
},
Expand All @@ -58,7 +58,7 @@ export default {
})
},
getImages: function (params) {
const adjusted = this.selectedDate ? Object.assign({}, params, { albumId: -1, date: this.selectedDate.toISOString().substring(0, 10) }) : params
const adjusted = this.selectedDate ? Object.assign({}, params, { date: this.selectedDate.toISOString().substring(0, 10) }) : params
return apiPostImages(adjusted)
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/Tags.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
},
methods: {
getImages: function (params) {
const p = Object.assign({}, params, { tagId: this.tags[this.selectedTag].tag.id, albumId: -1 })
const p = Object.assign({}, params, { tagId: this.tags[this.selectedTag].tag.id })
return apiPostImages(p)
}
},
Expand Down

0 comments on commit b3c7ec1

Please sign in to comment.