From b90a37dd72eb501937595596f62149e5587b2295 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 27 Jul 2026 13:01:02 +0000 Subject: [PATCH] :bug: Add project-id guard to use-plugin-register layout effect Add `project-id` to the guard condition in `use-plugin-register`'s layout effect so the plugin "Try out" flow waits until projects have loaded. Previously, only `plugin-url` was checked, which allowed the fetch to fire before projects were available, sending a nil `project-id` and causing a 400 validation error from the backend. AI-assisted-by: mimo-v2.5-pro --- frontend/src/app/main/ui/dashboard.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard.cljs b/frontend/src/app/main/ui/dashboard.cljs index 20daf964a7..622873ac4c 100644 --- a/frontend/src/app/main/ui/dashboard.cljs +++ b/frontend/src/app/main/ui/dashboard.cljs @@ -211,7 +211,7 @@ (mf/with-layout-effect [plugin-url team-id project-id] - (when plugin-url + (when (and plugin-url project-id) (->> (dp/fetch-manifest plugin-url) (rx/subs! (fn [plugin]