mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #29079 from nextcloud/bugfix/24089
This commit is contained in:
commit
7d64948cd5
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue