Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 9a59a16

Browse files
feat: rename data export entry in .ddg file (#1380)
Signed-off-by: peterpeterparker <[email protected]>
1 parent 51cea0e commit 9a59a16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

studio/src/app/services/editor/file-system/file-system.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class FileSystemService {
167167

168168
const blob: Blob = new Blob([JSON.stringify(data)], {type: 'application/json'});
169169

170-
zip.file('deck.json', blob, {
170+
zip.file('data.json', blob, {
171171
base64: true
172172
});
173173

@@ -250,7 +250,7 @@ export class FileSystemService {
250250
}
251251

252252
private async parseImportData(content: JSZip): Promise<FileImportData> {
253-
let deck: string = await content.file('deck.json').async('text');
253+
let deck: string = await content.file('data.json').async('text');
254254

255255
// If user is offline, then we load the online content saved in the cloud locally too, better display the content than none
256256
if (!offlineStore.state.online) {

0 commit comments

Comments
 (0)