From 5d43b985beed5cea0b1c44ed14708db688ae7ac8 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Thu, 19 Aug 2021 20:58:46 +0200 Subject: [PATCH] Hide repositories-only plugin by default --- source/app/web/statics/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/web/statics/app.js b/source/app/web/statics/app.js index cc232ae1..30923819 100644 --- a/source/app/web/statics/app.js +++ b/source/app/web/statics/app.js @@ -31,7 +31,7 @@ //Plugins (async () => { const { data: plugins } = await axios.get("/.plugins") - this.plugins.list = plugins + this.plugins.list = plugins.filter(({name}) => metadata[name]?.supports.includes("user") || metadata[name]?.supports.includes("organization")) })(), //Base (async () => {