Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat: add isDirty condition to runnow button too

jordibosch20d2304875ff6a
diff --git a/web/src/features/blobstorage-integration/components/BlobStorageIntegrationContainer.tsx b/web/src/features/blobstorage-integration/components/BlobStorageIntegrationContainer.tsx
index d77def925d..fce474c854 100644
--- a/web/src/features/blobstorage-integration/components/BlobStorageIntegrationContainer.tsx
+++ b/web/src/features/blobstorage-integration/components/BlobStorageIntegrationContainer.tsx
@@ -140,8 +140,12 @@ export const BlobStorageIntegrationContainer = ({
<Button
variant="secondary"
loading={mutRunNow.isPending}
- disabled={!config?.enabled}
- title="Trigger an immediate export of all data since the last sync"
+ disabled={!config?.enabled || isDirty}
+ title={
+ isDirty
+ ? "Please save latest changes before running an export"
+ : "Trigger an immediate export of all data since the last sync"
+ }
onClick={() => {
if (
confirm(