Skip to content

Commit 006de95

Browse files
committed
Remove TODOs for project archival #1061
1 parent d15988c commit 006de95

File tree

2 files changed

+3
-3
lines changed
  • source/SIL.AppBuilder.Portal/src

2 files changed

+3
-3
lines changed

Diff for: source/SIL.AppBuilder.Portal/src/lib/projects/server.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ export async function doProjectAction(
140140
await DatabaseWrites.projects.update(project.Id, {
141141
DateArchived: new Date()
142142
});
143-
// TODO: Delete UserTasks for Archived Project?
143+
// ISSUE: #1061 Delete UserTasks for Archived Project?
144144
} else if (operation === 'reactivate' && !!project?.DateArchived) {
145145
await DatabaseWrites.projects.update(project.Id, {
146146
DateArchived: null
147147
});
148-
// TODO: Create UserTasks for Reactivated Project?
148+
// ISSUE: #1061 Create UserTasks for Reactivated Project?
149149
} else if (
150150
operation === 'claim' &&
151151
canClaimProject(session, project?.OwnerId, orgId, project?.GroupId, groups)

Diff for: source/SIL.AppBuilder.Portal/src/routes/(authenticated)/workflow-instances/[product_id]/+page.server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const actions = {
113113

114114
if (!flow) return fail(404, { form, ok: false });
115115

116-
// TODO: What if the parent project is archived? This will create user tasks, which we probably don't want.
116+
// ISSUE: #1061 What if the parent project is archived? This will create user tasks, which we probably don't want.
117117
flow.send({
118118
type: WorkflowAction.Jump,
119119
target: form.data.state as WorkflowState,

0 commit comments

Comments
 (0)