diff --git a/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx b/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx index 7e3e2c017e603..e4a8568d1f974 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx @@ -140,8 +140,14 @@ export const VirtualizedAutomationScheduleRow = forwardRef( - {/* Left aligned content */} - + {scheduleData ? ( <> @@ -158,7 +164,6 @@ export const VirtualizedAutomationScheduleRow = forwardRef( - {/* Right aligned content */} - - {/* Left aligned content */} + {/* Keyed so that a new switch is always rendered, otherwise it's reused and animates on/off */} {sensorData ? ( @@ -157,7 +163,6 @@ export const VirtualizedAutomationSensorRow = forwardRef( - {/* Right aligned content */} {sensorData ? (