Skip to content

Commit a550ac2

Browse files
authored
feat: restrict shared blueprints visibility based on toolkit mode (#1264)
1 parent 0399690 commit a550ac2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ui/src/builder/sidebar/BuilderSidebarToolkit.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ const placeholder = computed(() => {
219219
220220
function getRelevantToolsInCategory(categoryId: string) {
221221
if (categoryId === "Shared Blueprints") {
222+
// Only show shared blueprints in blueprints mode, not in interface mode
223+
if (activeToolkit.value !== "blueprints") {
224+
return [];
225+
}
222226
// Don't show shared blueprints when editing a shared blueprint (no nesting for now)
223227
if (
224228
!isSharedBlueprintsEnabled.value ||

0 commit comments

Comments
 (0)