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: refresh button dark background when loading on pipes page

Louis Beaumont78ef3a506371
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
index 99cbf5990..14d239148 100644
--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx
@@ -1226,7 +1226,8 @@ export function PipesSection() {
</p>
</div>
<div className="flex items-center gap-2">
- <Button variant="outline" size="icon" className="h-8 w-8" disabled={refreshing} onClick={async () => {
+ <Button variant="outline" size="icon" className={`h-8 w-8 ${refreshing ? "pointer-events-none opacity-70" : ""}`} onClick={async () => {
+ if (refreshing) return;
setRefreshing(true);
await Promise.all([
fetchPipes(),