mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-19 12:10:37 +09:00
Add draft routine defaults and run-time overrides
This commit is contained in:
parent
b4a58ba8a6
commit
5d021583be
18 changed files with 592 additions and 113 deletions
|
|
@ -3310,9 +3310,9 @@ export function companyPortabilityService(db: Db, storage?: StorageService) {
|
|||
|
||||
for (const routine of selectedRoutineRows) {
|
||||
const taskSlug = taskSlugByRoutineId.get(routine.id)!;
|
||||
const projectSlug = projectSlugById.get(routine.projectId) ?? null;
|
||||
const projectSlug = routine.projectId ? (projectSlugById.get(routine.projectId) ?? null) : null;
|
||||
const taskPath = `tasks/${taskSlug}/TASK.md`;
|
||||
const assigneeSlug = idToSlug.get(routine.assigneeAgentId) ?? null;
|
||||
const assigneeSlug = routine.assigneeAgentId ? (idToSlug.get(routine.assigneeAgentId) ?? null) : null;
|
||||
files[taskPath] = buildMarkdown(
|
||||
{
|
||||
name: routine.title,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue