diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-10-05 13:26:23 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-10-05 13:28:08 +0200 |
commit | c9656eff06a542ff76a138af2fb14626e3292ec2 (patch) | |
tree | 39d4a9f1dcda006572565daf1d79ab5c6d7e841f /apps/settings/src/views | |
parent | ee32c7c3282407c4cc714dc7e00a374781d9ef56 (diff) | |
download | nextcloud-server-c9656eff06a542ff76a138af2fb14626e3292ec2.tar.gz nextcloud-server-c9656eff06a542ff76a138af2fb14626e3292ec2.zip |
Only load screenshots if available from app store releases
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/settings/src/views')
-rw-r--r-- | apps/settings/src/views/Apps.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/src/views/Apps.vue b/apps/settings/src/views/Apps.vue index 327faa4ac6a..5e151dc9bc8 100644 --- a/apps/settings/src/views/Apps.vue +++ b/apps/settings/src/views/Apps.vue @@ -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 |