Skip to content

Commit 5563a21

Browse files
committed
feat: allow user to fork own documents
1 parent a75bf48 commit 5563a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/backend/src/services/document/document.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class DocumentSerivce {
150150
mutation.source === EntitySourceType.Origin
151151
) {
152152
// ToDo: navie implementation
153-
mutation.apps
153+
mutation.apps = mutation.apps
154154
.filter((app) => app.documentId !== null) // remove apps without documents
155155
.concat({ appId, documentId: document.id }) // add new document
156156

0 commit comments

Comments
 (0)