Skip to content

Commit 52f8de4

Browse files
author
Wolfgang Ginolas
committed
Incorrect window title for new file
#46
1 parent a71abe3 commit 52f8de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function createEmptyDrawioFile(name, folder, folderId) {
7474
await saveFileContent(path, new Blob([EMPTY_DRAWIO], { type: 'application/x-drawio' }))
7575
const fileInfo = await getFileInfo(path)
7676
const backLink = await createFolderLink(folder, folderId)
77-
openInCryptPad(fileInfo.id, path, 'application/x-drawio', backLink, false, 'New file')
77+
openInCryptPad(fileInfo.id, path, 'application/x-drawio', backLink, false, name)
7878
} catch (c) {
7979
showError(t('openincryptpad', 'File could not be created'))
8080
}

0 commit comments

Comments
 (0)