fix(workflow): scope clean-cycle reset to phases

This commit is contained in:
pku-xht
2026-08-12 01:09:03 +08:00
parent 1b91e5b4fe
commit 33112b4957
2 changed files with 2 additions and 20 deletions

View File

@@ -85,7 +85,7 @@ function ManualDisclosure(props: StatusDisclosureProps) {
}
function StatusDisclosure({ cleanCycleKey, requiresExpansion, ...props }: StatusDisclosureProps & {
readonly cleanCycleKey: number
readonly cleanCycleKey?: number | undefined
readonly requiresExpansion: boolean
}) {
if (!requiresExpansion) return <ManualDisclosure key={cleanCycleKey} {...props} />
@@ -139,7 +139,6 @@ function RunHeader({ children, count, name, requiresExpansion, status, t }: {
<StatusDisclosure
icon={<IconChevronRightOutline14 />}
title={t('run.title', { name })}
cleanCycleKey={count}
requiresExpansion={requiresExpansion}
expandOnRowClick
previewChevron={false}