diff --git a/app/main.py b/app/main.py index 619b9c8..0017668 100644 --- a/app/main.py +++ b/app/main.py @@ -1803,7 +1803,13 @@ async def upload_nextcloud(job_id: str, user: str = Depends(check_auth)): success, result = _nextcloud_upload(output_path, download_name, target_subdir=target_subdir) if success: - update_job(job_id, nextcloud_status="uploaded", nextcloud_url=result, nextcloud_error=None) + update_job( + job_id, + nextcloud_status="uploaded", + nextcloud_url=result, + nextcloud_error=None, + hidden_after_upload=True, # skrij iz default UI prikaza (toggle za pokaz) + ) print(f"☁️ Upload OK: /{target_subdir}/{download_name}", flush=True) # Zabeleži v dedup try: