( selectedSubtaskFiles: readonly PathLike[], file: PathLike )
| 47 | } |
| 48 | |
| 49 | export function hasTaskModalSubtaskFile( |
| 50 | selectedSubtaskFiles: readonly PathLike[], |
| 51 | file: PathLike |
| 52 | ): boolean { |
| 53 | return selectedSubtaskFiles.some((existing) => existing.path === file.path); |
| 54 | } |
| 55 | |
| 56 | export async function renderTaskModalSubtasksList({ |
| 57 | app, |
no outgoing calls
no test coverage detected