Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: only show trigger UI when workflow events enabled in settings

Louis Beaumontf4d585703a4d
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
index 19b47fd49..d837b5ef6 100644
--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
@@ -1768,8 +1768,8 @@ export function PipesSection() {
</div>
</div>
- {/* Event triggers */}
- <div>
+ {/* Event triggers — only show if workflow events enabled */}
+ {settings.enableWorkflowEvents && <div>
<Label className="text-xs flex items-center gap-1.5">
triggers
<span className="text-[10px] font-normal text-muted-foreground bg-muted px-1.5 py-0.5 rounded">cloud</span>
@@ -1837,7 +1837,7 @@ export function PipesSection() {
</Button>
</form>
</div>
- </div>
+ </div>}
<div>
<div className="flex items-center gap-2">