diff --git a/plugins/plugins/core/q-app/q-apps.src.js b/plugins/plugins/core/q-app/q-apps.src.js
index 7f490e4a..abbe1fca 100644
--- a/plugins/plugins/core/q-app/q-apps.src.js
+++ b/plugins/plugins/core/q-app/q-apps.src.js
@@ -910,14 +910,12 @@ class QApps extends LitElement {
}
renderDownload(downObj) {
- if (downObj.status != null) {
- if (downObj.status.description === "Published but not yet downloaded" || downObj.status.status === "MISSING_DATA") {
- return html` this.downloadApp(downObj)}>`
- } else if (downObj.status.description === "Ready" || downObj.status.status === "DOWNLOADED") {
- return html``
- }
- } else {
+ if (downObj.status.description === "Published but not yet downloaded" || downObj.status.status === "MISSING_DATA") {
return html` this.downloadApp(downObj)}>`
+ } else if (downObj.status.description === "Ready" || downObj.status.status === "DOWNLOADED") {
+ return html``
+ } else {
+ return html``
}
}
diff --git a/plugins/plugins/core/qdn/websites.src.js b/plugins/plugins/core/qdn/websites.src.js
index 8fc8b502..0e501e2a 100644
--- a/plugins/plugins/core/qdn/websites.src.js
+++ b/plugins/plugins/core/qdn/websites.src.js
@@ -1024,17 +1024,8 @@ class Websites extends LitElement {
}
renderPublishedBy(websiteObj) {
- if (websiteObj.status != null) {
- return html`
-
${websiteObj.name}
- ${translate("websitespage.schange28")}: ${websiteObj.status.title}
- `
- } else {
- return html`
- ${websiteObj.name}
- ${translate("websitespage.schange28")}: Published
- `
- }
+ return html`${websiteObj.name}
+ ${translate("websitespage.schange28")}: ${websiteObj.status.title}
`
}
renderSize(websiteObj) {