feat(interviews): add preSelectedStage prop to MoveToSheet

This commit is contained in:
pyr0ball 2026-03-19 16:25:48 -07:00
parent 6e2ddaf6da
commit 52c7dfcfe3

View file

@ -4,8 +4,9 @@ import { STAGE_LABELS, PIPELINE_STAGES } from '../stores/interviews'
import type { PipelineStage } from '../stores/interviews' import type { PipelineStage } from '../stores/interviews'
const props = defineProps<{ const props = defineProps<{
currentStatus: string currentStatus: string
jobTitle: string jobTitle: string
preSelectedStage?: PipelineStage
}>() }>()
const emit = defineEmits<{ const emit = defineEmits<{
@ -13,7 +14,7 @@ const emit = defineEmits<{
close: [] close: []
}>() }>()
const selectedStage = ref<PipelineStage | null>(null) const selectedStage = ref<PipelineStage | null>(props.preSelectedStage ?? null)
const interviewDate = ref('') const interviewDate = ref('')
const rejectionStage = ref('') const rejectionStage = ref('')
const focusIndex = ref(0) const focusIndex = ref(0)