diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index 1d9f9ce84..f6ca268b4 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -94,6 +94,12 @@ export const bazaar = {
+
+
+ + +
+
@@ -127,6 +133,7 @@ export const bazaar = { +
@@ -154,6 +161,7 @@ export const bazaar = { +
@@ -181,6 +189,7 @@ export const bazaar = { +
@@ -208,6 +217,7 @@ export const bazaar = { +
@@ -235,6 +245,7 @@ export const bazaar = { +
@@ -326,7 +337,8 @@ export const bazaar = { url = "/api/bazaar/getInstalledPlugin"; } fetchPost(url, { - frontend: getFrontend() + frontend: getFrontend(), + keyword: (contentElement.previousElementSibling.querySelector(".b3-text-field") as HTMLInputElement)?.value || "", }, response => { contentElement.removeAttribute("data-loading"); let html = ""; @@ -928,6 +940,9 @@ export const bazaar = { bazaar._onBazaar(response, "plugins", false); bazaar._data.plugins = response.data.packages; }); + } else if (type === "downloaded") { + const bazaarType = inputElement.parentElement.parentElement.querySelector(".b3-button:not(.b3-button--outline)").getAttribute("data-type").replace("my", "").toLowerCase() + "s" as TBazaarType + this._genMyHTML(bazaarType, app); } event.preventDefault(); return;