mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-16 21:53:07 +00:00
fix: Add 'ready' status to FeatureStatusWithPipeline type union
This commit is contained in:
@@ -206,7 +206,6 @@ export const CardHeaderSection = memo(function CardHeaderSection({
|
|||||||
!isSelectionMode &&
|
!isSelectionMode &&
|
||||||
(feature.status === 'backlog' ||
|
(feature.status === 'backlog' ||
|
||||||
feature.status === 'interrupted' ||
|
feature.status === 'interrupted' ||
|
||||||
// @ts-expect-error 'ready' is a valid runtime status used for backlog display but not in FeatureStatusWithPipeline union
|
|
||||||
feature.status === 'ready') && (
|
feature.status === 'ready') && (
|
||||||
<div className="absolute top-2 right-2 flex items-center gap-1">
|
<div className="absolute top-2 right-2 flex items-center gap-1">
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ export type PipelineStatus = `pipeline_${string}`;
|
|||||||
|
|
||||||
export type FeatureStatusWithPipeline =
|
export type FeatureStatusWithPipeline =
|
||||||
| 'backlog'
|
| 'backlog'
|
||||||
|
| 'ready'
|
||||||
| 'in_progress'
|
| 'in_progress'
|
||||||
| 'interrupted'
|
| 'interrupted'
|
||||||
| 'waiting_approval'
|
| 'waiting_approval'
|
||||||
|
|||||||
Reference in New Issue
Block a user