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: rollback version always showing current version

Louis Beaumonta9d26532468a
diff --git a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx b/apps/screenpipe-app-tauri/components/settings/general-settings.tsx
index 154b8872d..6993475bc 100644
--- a/apps/screenpipe-app-tauri/components/settings/general-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/general-settings.tsx
@@ -155,13 +155,13 @@ export default function GeneralSettings() {
Version{currentVersion ? ` ${currentVersion}` : ""}
</h3>
<p className="text-xs text-muted-foreground">
- {rollbackVersion
+ {rollbackVersion && rollbackVersion !== currentVersion
? `previous: v${rollbackVersion}`
: "no previous version saved yet"}
</p>
</div>
</div>
- {rollbackVersion && (
+ {rollbackVersion && rollbackVersion !== currentVersion && (
<Button
variant="outline"
size="sm"