Skip to content

Commit

Permalink
feat: allow user to fork own documents
Browse files Browse the repository at this point in the history
  • Loading branch information
alsakhaev committed Nov 13, 2024
1 parent a75bf48 commit 5563a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/backend/src/services/document/document.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class DocumentSerivce {
mutation.source === EntitySourceType.Origin
) {
// ToDo: navie implementation
mutation.apps
mutation.apps = mutation.apps
.filter((app) => app.documentId !== null) // remove apps without documents
.concat({ appId, documentId: document.id }) // add new document

Expand Down

0 comments on commit 5563a21

Please sign in to comment.