Skip to content

Commit 1b5766b

Browse files
committed
fix: draftDuplicateEntry function duplicate i18n data
1 parent c674440 commit 1b5766b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/decap-cms-core/src/actions/entries.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ export function draftDuplicateEntry(entry: EntryMap) {
389389
type: DRAFT_CREATE_DUPLICATE_FROM_ENTRY,
390390
payload: createEntry(entry.get('collection'), '', '', {
391391
data: entry.get('data'),
392+
i18n: entry.get('i18n'),
392393
mediaFiles: entry.get('mediaFiles').toJS(),
393394
}),
394395
};

0 commit comments

Comments
 (0)