From a403af7ebd93b5b67e262bdcb180fff22260907c Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 8 Sep 2025 09:42:37 +0200 Subject: [PATCH] :bug: Fix plugin installation link --- common/src/app/common/types/plugins.cljc | 2 +- frontend/src/app/plugins/register.cljs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/app/common/types/plugins.cljc b/common/src/app/common/types/plugins.cljc index b582da3583..e2188d3585 100644 --- a/common/src/app/common/types/plugins.cljc +++ b/common/src/app/common/types/plugins.cljc @@ -27,7 +27,7 @@ schema:string schema:string]]) -(def ^:private schema:registry-entry +(def schema:registry-entry [:map [:plugin-id :string] [:name :string] diff --git a/frontend/src/app/plugins/register.cljs b/frontend/src/app/plugins/register.cljs index c7865eb6cc..aba49133d8 100644 --- a/frontend/src/app/plugins/register.cljs +++ b/frontend/src/app/plugins/register.cljs @@ -71,9 +71,9 @@ :code code :icon icon :permissions (into #{} (map str) permissions)})] - (if (sm/validate ::ctp/registry-entry manifest) + (if (sm/validate ctp/schema:registry-entry manifest) manifest - (.error js/console (clj->js (sm/explain ::ctp/registry-entry manifest)))))) + (.error js/console (clj->js (sm/explain ctp/schema:registry-entry manifest)))))) (defn save-to-store []