diff --git a/webui/src/components/InstanceCard.tsx b/webui/src/components/InstanceCard.tsx index 8d15ea9..657f1ab 100644 --- a/webui/src/components/InstanceCard.tsx +++ b/webui/src/components/InstanceCard.tsx @@ -59,8 +59,12 @@ function InstanceCard({ // Fetch the most up-to-date instance data from the backend const instanceData = await instancesApi.get(instance.name); + // Remove docker_enabled as it's a computed field, not persisted to disk + // eslint-disable-next-line @typescript-eslint/no-unused-vars + const { docker_enabled, ...persistedData } = instanceData; + // Convert to JSON string with pretty formatting (matching backend format) - const jsonString = JSON.stringify(instanceData, null, 2); + const jsonString = JSON.stringify(persistedData, null, 2); // Create a blob and download link const blob = new Blob([jsonString], { type: "application/json" });