Merge pull request #29079 from nextcloud/bugfix/24089

pull/29083/head
Pytal 2021-10-05 17:39:46 +07:00 committed by GitHub
commit 7d64948cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -144,7 +144,7 @@ export default {
},
mounted() {
this.isSelected = (this.app.id === this.$route.params.id)
if (this.app.screenshot) {
if (this.app.releases && this.app.screenshot) {
const image = new Image()
image.onload = (e) => {
this.screenshotLoaded = true

@ -262,7 +262,7 @@ export default {
app() {
this.screenshotLoaded = false
if (this.app && this.app.screenshot) {
if (this.app?.releases && this.app?.screenshot) {
const image = new Image()
image.onload = (e) => {
this.screenshotLoaded = true