From 66c270163c8efb3bef33dd0d4794b6bbd0ccfd12 Mon Sep 17 00:00:00 2001
From: AlphaX-Projects <77661270+AlphaX-Projects@users.noreply.github.com>
Date: Sun, 5 Nov 2023 10:36:53 +0100
Subject: [PATCH] Revert as core is fixed
---
plugins/plugins/core/q-app/q-apps.src.js | 12 +++++-------
plugins/plugins/core/qdn/websites.src.js | 13 ++-----------
2 files changed, 7 insertions(+), 18 deletions(-)
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) {